Skip to content
Snippets Groups Projects
Artem Pelenitsyn's avatar
Artem Pelenitsyn authored
With this option, 'cabal get' writes to the destination directory only the
package description already available locally in one of the repository
indices.

The basename of the file name written to inside the target directory is
the package-id rather than only the package name.

This is mostly based on #1977

Co-authored-by: default avatarMiëtek Bak <mietek@bak.io>
Co-authored-by: default avatarArtem Pelenitsyn <a.pelenitsyn@gmail.com>

Co-authored-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <hvr@gnu.org>
Co-authored-by: default avatarMiëtek Bak <mietek@bak.io>
5159ffbc
History

Cabal

Hackage version Stackage version Documentation Status IRC chat Matrix chat

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.