Install Cabal On A Debian, Ubuntu, Arch, Kali, Fedora, Raspbian And MacOS
cabal
Maintainer: Debian Haskell Group
Email: [email protected] .
Website: https://www.haskell.org/cabal/
Section: haskell
Install cabal
-
Debian
apt-get install cabal-installClick to copy -
Ubuntu
apt-get install cabal-installClick to copy -
Arch Linux
pacman -S cabal-installClick to copy -
Kali Linux
apt-get install cabal-installClick to copy -
Fedora
dnf install cabal-installClick to copy -
Raspbian
apt-get install cabal-installClick to copy -
macOS
brew install cabal-installClick to copy
Command line interface to the Haskell package infrastructure (Cabal). Manage Haskell projects and Cabal packages from the Hackage package repository.
How to use cabal?
Below are few example commands for cabal that you can use in the terminal.
Search and list packages from Hackage:cabal list search_stringClick to copyShow information about a package:cabal info package_nameClick to copyDownload and install a package:cabal install package_nameClick to copyCreate a new Haskell project in the current directory:cabal initClick to copyBuild the project in the current directory:cabal buildClick to copyRun tests of the project in the current directory:cabal testClick to copy
Install the latest version of cabal in Debian, Ubuntu, Arch, Kali, Fedora, Raspbian and macOS from terminal. To install the cabal just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of cabal from the respository and install it in your computer/server.




