The Haskell Common Architecture for Building Applications and Libraries: a framework defining a common interface for authors to more easily build their Haskell applications in a portable way. The Haskell Cabal is part of a larger infrastructure for distributing, organizing, and cataloging Haskell libraries and tools.


Keywords
distribution, library, Propose Tags , Distribution.Backpack, Distribution.Backpack.ComponentsGraph, Distribution.Backpack.Configure, Distribution.Backpack.ConfiguredComponent, Distribution.Backpack.DescribeUnitId, Distribution.Backpack.FullUnitId, Distribution.Backpack.LinkedComponent, Distribution.Backpack.ModSubst, Distribution.Backpack.ModuleShape, Distribution.Backpack.PreModuleShape, Distribution.CabalSpecVersion, Distribution.Compat.Binary, Distribution.Compat.CharParsing, Distribution.Compat.CreatePipe, Distribution.Compat.DList, Distribution.Compat.Directory, Distribution.Compat.Exception, Distribution.Compat.FilePath, Distribution.Compat.Graph, Distribution.Compat.Lens, Distribution.Compat.Newtype, Distribution.Compat.NonEmptySet, Distribution.Compat.Parsing, Distribution.Compat.Prelude.Internal, Distribution.Compat.Process, Distribution.Compat.ResponseFile, Distribution.Compat.Semigroup, Distribution.Compat.Stack, Distribution.Compat.Time, Distribution.Compat.Typeable, Distribution.Compiler, Distribution.FieldGrammar, Distribution.FieldGrammar.Class, Distribution.FieldGrammar.FieldDescrs, Distribution.FieldGrammar.Newtypes, Distribution.FieldGrammar.Parsec, Distribution.FieldGrammar.Pretty, Distribution.Fields, Distribution.Fields.ConfVar, Distribution.Fields.Field, Distribution.Fields.Lexer, Distribution.Fields.LexerMonad, Distribution.Fields.ParseResult, Distribution.Fields.Parser, Distribution.Fields.Pretty, Distribution.InstalledPackageInfo, Distribution.License, Distribution.Make, Distribution.ModuleName, Distribution.Package, Distribution.PackageDescription, Distribution.PackageDescription.Check, Distribution.PackageDescription.Configuration, Distribution.PackageDescription.FieldGrammar, Distribution.PackageDescription.Parsec, Distribution.PackageDescription.PrettyPrint, Distribution.PackageDescription.Quirks, Distribution.PackageDescription.Utils, Distribution.Parsec, Distribution.Parsec.Error, Distribution.Parsec.FieldLineStream, Distribution.Parsec.Position, Distribution.Parsec.Warning, Distribution.Pretty, Distribution.ReadE, Distribution.SPDX, Distribution.SPDX.License, Distribution.SPDX.LicenseExceptionId, Distribution.SPDX.LicenseExpression, Distribution.SPDX.LicenseId, Distribution.SPDX.LicenseListVersion, Distribution.SPDX.LicenseReference, Distribution.Simple, Distribution.Simple.Bench, Distribution.Simple.Build, Distribution.Simple.Build.Macros, Distribution.Simple.Build.PathsModule, Distribution.Simple.BuildPaths, Distribution.Simple.BuildTarget, Distribution.Simple.BuildToolDepends, Distribution.Simple.CCompiler, Distribution.Simple.Command, Distribution.Simple.Compiler, Distribution.Simple.Configure, Distribution.Simple.Flag, Distribution.Simple.GHC, Distribution.Simple.GHCJS, Distribution.Simple.Glob, Distribution.Simple.Haddock, Distribution.Simple.HaskellSuite, Distribution.Simple.Hpc, Distribution.Simple.Install, Distribution.Simple.InstallDirs, Distribution.Simple.InstallDirs.Internal, Distribution.Simple.LocalBuildInfo, Distribution.Simple.PackageIndex, Distribution.Simple.PreProcess, Distribution.Simple.PreProcess.Unlit, Distribution.Simple.Program, Distribution.Simple.Program.Ar, Distribution.Simple.Program.Builtin, Distribution.Simple.Program.Db, Distribution.Simple.Program.Find, Distribution.Simple.Program.GHC, Distribution.Simple.Program.HcPkg, Distribution.Simple.Program.Hpc, Distribution.Simple.Program.Internal, Distribution.Simple.Program.Ld, Distribution.Simple.Program.ResponseFile, Distribution.Simple.Program.Run, Distribution.Simple.Program.Script, Distribution.Simple.Program.Strip, Distribution.Simple.Program.Types, Distribution.Simple.Register, Distribution.Simple.Setup, Distribution.Simple.ShowBuildInfo, Distribution.Simple.SrcDist, Distribution.Simple.Test, Distribution.Simple.Test.ExeV10, Distribution.Simple.Test.LibV09, Distribution.Simple.Test.Log, Distribution.Simple.UHC, Distribution.Simple.UserHooks, Distribution.Simple.Utils, Distribution.System, Distribution.TestSuite, Distribution.Text, Distribution.Types.AbiDependency, Distribution.Types.AbiHash, Distribution.Types.AnnotatedId, Distribution.Types.Benchmark, Distribution.Types.Benchmark.Lens, Distribution.Types.BenchmarkInterface, Distribution.Types.BenchmarkType, Distribution.Types.BuildInfo, Distribution.Types.BuildInfo.Lens, Distribution.Types.BuildType, Distribution.Types.Component, Distribution.Types.ComponentId, Distribution.Types.ComponentInclude, Distribution.Types.ComponentLocalBuildInfo, Distribution.Types.ComponentName, Distribution.Types.ComponentRequestedSpec, Distribution.Types.CondTree, Distribution.Types.Condition, Distribution.Types.ConfVar, Distribution.Types.Dependency, Distribution.Types.DependencyMap, Distribution.Types.ExeDependency, Distribution.Types.Executable, Distribution.Types.Executable.Lens, Distribution.Types.ExecutableScope, Distribution.Types.ExposedModule, Distribution.Types.Flag, Distribution.Types.ForeignLib, Distribution.Types.ForeignLib.Lens, Distribution.Types.ForeignLibOption, Distribution.Types.ForeignLibType, Distribution.Types.GenericPackageDescription, Distribution.Types.GenericPackageDescription.Lens, Distribution.Types.GivenComponent, Distribution.Types.HookedBuildInfo, Distribution.Types.IncludeRenaming, Distribution.Types.InstalledPackageInfo, Distribution.Types.InstalledPackageInfo.FieldGrammar, Distribution.Types.InstalledPackageInfo.Lens, Distribution.Types.LegacyExeDependency, Distribution.Types.Lens, Distribution.Types.Library, Distribution.Types.Library.Lens, Distribution.Types.LibraryName, Distribution.Types.LibraryVisibility, Distribution.Types.LocalBuildInfo, Distribution.Types.Mixin, Distribution.Types.Module, Distribution.Types.ModuleReexport, Distribution.Types.ModuleRenaming, Distribution.Types.MungedPackageId, Distribution.Types.MungedPackageName, Distribution.Types.PackageDescription, Distribution.Types.PackageDescription.Lens, Distribution.Types.PackageId, Distribution.Types.PackageId.Lens, Distribution.Types.PackageName, Distribution.Types.PackageName.Magic, Distribution.Types.PackageVersionConstraint, Distribution.Types.PkgconfigDependency, Distribution.Types.PkgconfigName, Distribution.Types.PkgconfigVersion, Distribution.Types.PkgconfigVersionRange, Distribution.Types.SetupBuildInfo, Distribution.Types.SetupBuildInfo.Lens, Distribution.Types.SourceRepo, Distribution.Types.SourceRepo.Lens, Distribution.Types.TargetInfo, Distribution.Types.TestSuite, Distribution.Types.TestSuite.Lens, Distribution.Types.TestSuiteInterface, Distribution.Types.TestType, Distribution.Types.UnitId, Distribution.Types.UnqualComponentName, Distribution.Types.Version, Distribution.Types.VersionInterval, Distribution.Types.VersionInterval.Legacy, Distribution.Types.VersionRange, Distribution.Types.VersionRange.Internal, Distribution.Utils.Generic, Distribution.Utils.IOData, Distribution.Utils.LogProgress, Distribution.Utils.MD5, Distribution.Utils.MapAccum, Distribution.Utils.NubList, Distribution.Utils.Path, Distribution.Utils.Progress, Distribution.Utils.ShortText, Distribution.Utils.Structured, Distribution.Verbosity, Distribution.Verbosity.Internal, Distribution.Version, Language.Haskell.Extension, Cabal web site, cabal-install, user guide, API documentation, development wiki, bug tracker, Hackage, original Cabal specification, cabal, haskell
License
BSD-3-Clause
Install
cabal install Cabal-3.4.1.0

Documentation

Cabal Hackage version Stackage version Artifacts Documentation Status

This Cabal Git repository contains the following packages:

The canonical upstream repository is located at https://github.com/haskell/cabal.

Installing cabal-install (by downloading the binary)

Prebuilt binary releases can be obtained from https://www.haskell.org/cabal/download.html. The cabal-install binary download for your platform should contain the cabal executable.

Installing cabal-install (preferred, with cabal-install)

Assuming that you have a pre-existing, recent version of cabal-install, run:

cabal install cabal-install

To get the latest version of cabal-install. (You may want to cabal update first.)

To install the latest version from the Git repository, clone the Git repository and then run:

cabal install --project-file=cabal.project.release cabal-install

Installing cabal-install without cabal-install

Assuming you don't have a pre-existing copy of cabal-install, look into bootstrap directory.