cabal-install: The command-line interface for Cabal and Hackage.

[ bsd3, distribution, library, program ] [ Propose Tags ]

The 'cabal' command-line program simplifies the process of managing Haskell software by automating the fetching, configuration, compilation and installation of Haskell libraries and programs.


[Skip to Readme]

Modules

[Last Documentation]

  • Distribution
    • Client
      • BuildReports
        • Distribution.Client.BuildReports.Anonymous
        • Distribution.Client.BuildReports.Lens
        • Distribution.Client.BuildReports.Storage
        • Distribution.Client.BuildReports.Types
        • Distribution.Client.BuildReports.Upload
      • Distribution.Client.Check
      • Distribution.Client.CmdBench
      • Distribution.Client.CmdBuild
      • Distribution.Client.CmdClean
      • Distribution.Client.CmdConfigure
      • Distribution.Client.CmdErrorMessages
      • Distribution.Client.CmdExec
      • Distribution.Client.CmdFreeze
      • Distribution.Client.CmdHaddock
      • Distribution.Client.CmdHaddockProject
      • Distribution.Client.CmdInstall
        • Distribution.Client.CmdInstall.ClientInstallFlags
        • Distribution.Client.CmdInstall.ClientInstallTargetSelector
      • Distribution.Client.CmdLegacy
      • Distribution.Client.CmdListBin
      • Distribution.Client.CmdOutdated
      • Distribution.Client.CmdRepl
      • Distribution.Client.CmdRun
      • Distribution.Client.CmdSdist
      • Distribution.Client.CmdTest
      • Distribution.Client.CmdUpdate
      • Compat
        • Distribution.Client.Compat.Directory
        • Distribution.Client.Compat.ExecutablePath
        • Distribution.Client.Compat.Orphans
        • Distribution.Client.Compat.Prelude
        • Distribution.Client.Compat.Semaphore
        • Distribution.Client.Compat.Tar
      • Distribution.Client.Config
      • Distribution.Client.Configure
      • Distribution.Client.Dependency
        • Distribution.Client.Dependency.Types
      • Distribution.Client.DistDirLayout
      • Distribution.Client.Fetch
      • Distribution.Client.FetchUtils
      • Distribution.Client.FileMonitor
      • Distribution.Client.Freeze
      • Distribution.Client.GZipUtils
      • Distribution.Client.GenBounds
      • Distribution.Client.Get
      • Distribution.Client.Glob
      • Distribution.Client.GlobalFlags
      • Distribution.Client.Haddock
      • Distribution.Client.HashValue
      • Distribution.Client.HttpUtils
      • Distribution.Client.IndexUtils
        • Distribution.Client.IndexUtils.ActiveRepos
        • Distribution.Client.IndexUtils.IndexState
        • Distribution.Client.IndexUtils.Timestamp
      • Distribution.Client.Init
        • Distribution.Client.Init.Defaults
        • Distribution.Client.Init.FileCreators
        • Distribution.Client.Init.FlagExtractors
        • Distribution.Client.Init.Format
        • Interactive
          • Distribution.Client.Init.Interactive.Command
        • Distribution.Client.Init.Licenses
        • NonInteractive
          • Distribution.Client.Init.NonInteractive.Command
          • Distribution.Client.Init.NonInteractive.Heuristics
        • Distribution.Client.Init.Prompt
        • Distribution.Client.Init.Simple
        • Distribution.Client.Init.Types
        • Distribution.Client.Init.Utils
      • Distribution.Client.Install
      • Distribution.Client.InstallPlan
      • Distribution.Client.InstallSymlink
      • Distribution.Client.JobControl
      • Distribution.Client.List
      • Distribution.Client.Main
      • Distribution.Client.Manpage
      • Distribution.Client.ManpageFlags
      • Distribution.Client.Nix
      • Distribution.Client.NixStyleOptions
      • Distribution.Client.PackageHash
      • Distribution.Client.ParseUtils
      • Distribution.Client.ProjectBuilding
        • Distribution.Client.ProjectBuilding.Types
      • Distribution.Client.ProjectConfig
        • Distribution.Client.ProjectConfig.Legacy
        • Distribution.Client.ProjectConfig.Types
      • Distribution.Client.ProjectFlags
      • Distribution.Client.ProjectOrchestration
      • Distribution.Client.ProjectPlanOutput
      • Distribution.Client.ProjectPlanning
        • Distribution.Client.ProjectPlanning.Types
      • Distribution.Client.RebuildMonad
      • Distribution.Client.Reconfigure
      • Distribution.Client.Run
      • Distribution.Client.Sandbox
        • Distribution.Client.Sandbox.PackageEnvironment
      • Distribution.Client.SavedFlags
      • Distribution.Client.ScriptUtils
      • Security
        • Distribution.Client.Security.DNS
        • Distribution.Client.Security.HTTP
      • Distribution.Client.Setup
      • Distribution.Client.SetupWrapper
      • Distribution.Client.Signal
      • Distribution.Client.SolverInstallPlan
      • Distribution.Client.SourceFiles
      • Distribution.Client.SrcDist
      • Distribution.Client.Store
      • Distribution.Client.Tar
      • Distribution.Client.TargetProblem
      • Distribution.Client.TargetSelector
      • Distribution.Client.Targets
      • Distribution.Client.Types
        • Distribution.Client.Types.AllowNewer
        • Distribution.Client.Types.BuildResults
        • Distribution.Client.Types.ConfiguredId
        • Distribution.Client.Types.ConfiguredPackage
        • Distribution.Client.Types.Credentials
        • Distribution.Client.Types.InstallMethod
        • Distribution.Client.Types.OverwritePolicy
        • Distribution.Client.Types.PackageLocation
        • Distribution.Client.Types.PackageSpecifier
        • Distribution.Client.Types.ReadyPackage
        • Distribution.Client.Types.Repo
        • Distribution.Client.Types.RepoName
        • Distribution.Client.Types.SourcePackageDb
        • Distribution.Client.Types.SourceRepo
        • Distribution.Client.Types.WriteGhcEnvironmentFilesPolicy
      • Distribution.Client.Upload
      • Distribution.Client.Utils
        • Distribution.Client.Utils.Json
        • Distribution.Client.Utils.Parsec
      • Distribution.Client.VCS
      • Distribution.Client.Version
      • Distribution.Client.Win32SelfUpgrade
    • Deprecated
      • Distribution.Deprecated.ParseUtils
      • Distribution.Deprecated.ReadP
      • Distribution.Deprecated.ViewAsFieldDescr

Flags

Manual Flags

NameDescriptionDefault
native-dns

Enable use of the resolv & windns packages for performing DNS lookups

Enabled
lukko

Use lukko for file-locking

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Versions [RSS] 0.4.0, 0.5.0, 0.5.1, 0.5.2, 0.6.0, 0.6.2, 0.6.4, 0.8.0, 0.8.2, 0.10.0, 0.10.2, 0.14.0, 0.14.1, 1.16.0, 1.16.0.1, 1.16.0.2, 1.16.1.0, 1.18.0, 1.18.0.1, 1.18.0.2, 1.18.0.3, 1.18.0.4, 1.18.0.5, 1.18.0.6, 1.18.0.7, 1.18.0.8, 1.18.1.0, 1.18.2.0, 1.20.0.0, 1.20.0.1, 1.20.0.2, 1.20.0.3, 1.20.0.4, 1.20.0.5, 1.20.0.6, 1.20.1.0, 1.20.2.0, 1.22.0.0, 1.22.0.1, 1.22.2.0, 1.22.3.0, 1.22.4.0, 1.22.5.0, 1.22.6.0, 1.22.7.0, 1.22.8.0, 1.22.9.0, 1.24.0.0, 1.24.0.1, 1.24.0.2, 2.0.0.0, 2.0.0.1, 2.2.0.0, 2.4.0.0, 2.4.1.0, 3.0.0.0, 3.2.0.0, 3.4.0.0, 3.4.1.0, 3.6.0.0, 3.6.2.0, 3.8.1.0, 3.10.1.0, 3.10.2.0, 3.10.2.1, 3.10.3.0
Change log changelog
Dependencies array (>=0.4 && <0.6), async (>=2.0 && <2.3), base (>=4.10 && <4.20), base16-bytestring (>=0.1.1 && <1.1.0.0), binary (>=0.7.3 && <0.9), bytestring (>=0.10.6.0 && <0.13), Cabal (>=3.10.3 && <3.11), cabal-install, cabal-install-solver (>=3.10 && <3.11), Cabal-syntax (>=3.10 && <3.11), containers (>=0.5.6.2 && <0.8), cryptohash-sha256 (>=0.11 && <0.12), directory (>=1.3.7.0 && <1.4), echo (>=0.1.3 && <0.2), edit-distance (>=0.2.2 && <0.3), exceptions (>=0.10.4 && <0.11), filepath (>=1.4.0.0 && <1.6), hackage-security (>=0.6.2.0 && <0.7), hashable (>=1.0 && <1.5), HTTP (>=4000.1.5 && <4000.5), lukko (>=0.1 && <0.2), mtl (>=2.0 && <2.4), network-uri (>=2.6.0.2 && <2.7), parsec (>=3.1.13.0 && <3.2), pretty (>=1.1 && <1.2), process (>=1.2.3.0 && <1.7), random (>=1.2 && <1.3), regex-base (>=0.94.0.0 && <0.95), regex-posix (>=0.96.0.0 && <0.97), resolv (>=0.1.1 && <0.3), safe-exceptions (>=0.1.7.0 && <0.2), stm (>=2.0 && <2.6), tar (>=0.5.0.3 && <0.7), text (>=1.2.3 && <1.3 || >=2.0 && <2.2), time (>=1.5.0.1 && <1.13), unix (>=2.5 && <2.9), Win32 (>=2.8 && <3), windns (>=0.1.0 && <0.2), zlib (>=0.5.3 && <0.8) [details]
License BSD-3-Clause
Copyright 2003-2023, Cabal Development Team
Author Cabal Development Team (see AUTHORS file)
Maintainer Cabal Development Team <cabal-devel@haskell.org>
Revised Revision 1 made by hecate at 2024-03-21T22:04:44Z
Category Distribution
Home page http://www.haskell.org/cabal/
Bug tracker https://github.com/haskell/cabal/issues
Source repo head: git clone https://github.com/haskell/cabal/(cabal-install)
Uploaded by hecate at 2024-03-21T14:14:43Z
Distributions Arch:3.6.2.0, Debian:3.0.0.0, Fedora:3.8.1.0, FreeBSD:1.22.6.0, LTSHaskell:3.10.3.0, NixOS:3.10.3.0, Stackage:3.10.3.0, openSUSE:3.10.2.1
Reverse Dependencies 4 direct, 0 indirect [details]
Executables cabal
Downloads 257667 total (495 in the last 30 days)
Rating 2.5 (votes: 11) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs pending
Build status unknown [no reports yet]

Readme for cabal-install-3.10.3.0

[back to package description]

The cabal-install package

See the Cabal web site for more information.

The cabal-install package provides a command line tool named cabal. It uses the Cabal library and provides a user interface to the Cabal/Hackage build automation and package management system. It can build and install both local and remote packages, including dependencies.