|
|
(35 intermediate revisions by 13 users not shown) |
Line 1: |
Line 1: |
− | The Cabal-Install package provides the <code>cabal</code> command-line program
| + | {{Stub}} |
− | which simplifies the process of managing Haskell software
| |
− | by automating the fetching, configuration, compilation and installation of Haskell libraries and programs.
| |
− | Those packages must be prepared using [[Cabal]] and should be present at [http://hackage.haskell.org/ HackageDB].
| |
| | | |
− | Once you have running cabal-install installation of further packages is just one simple shell call like
| + | The cabal-install package provides the <code>cabal</code> command-line tool which simplifies the process of managing Haskell software by automating the fetching, configuration, compilation and installation of Haskell libraries and programs. |
− | cabal install new-package
| + | Those packages must be prepared using [[Cabal]] and should be present at [http://hackage.haskell.org/ Hackage]. |
| | | |
− | Also uploading a new package to HackageDB is as simple as
| + | See https://cabal.readthedocs.io/ for more info. |
− | cabal upload new-package
| |
− | | |
− | But before you can do that, you have to complete the:
| |
− | | |
− | == Installation ==
| |
− | | |
− | You must download the following tarballs and you must [[Cabal/How to install a Cabal package|build and install]] them manually.
| |
− | | |
− | Cabal-install package itself:
| |
− | http://hackage.haskell.org/cgi-bin/hackage-scripts/package/cabal-install
| |
− | | |
− | Dependencies that aren't in core:
| |
− | http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HTTP
| |
− | http://hackage.haskell.org/cgi-bin/hackage-scripts/package/zlib
| |
− | | |
− | Note the last one assumes you have zlib the C library and its header files installed.
| |
− | Those header files are usually in a package like zlib-devel. On Windows, cabal-install bundles the Zlib library, so you won't need to obtain it yourself.
| |
− | | |
− | If that succeeds, that's possibly the last time you ever installed a foreign Haskell package manually!
| |
− | | |
− | == See also ==
| |
− | | |
− | * [http://hackage.haskell.org/trac/hackage/wiki/CabalInstall Cabal-install] page on Hackage-Trac
| |
| | | |
| [[Category:Tools]] | | [[Category:Tools]] |
| + | [[Category:Cabal]] |
This article is a stub. You can help by expanding it.
The cabal-install package provides the cabal
command-line tool which simplifies the process of managing Haskell software by automating the fetching, configuration, compilation and installation of Haskell libraries and programs.
Those packages must be prepared using Cabal and should be present at Hackage.
See https://cabal.readthedocs.io/ for more info.