How to Install and Uninstall ghc Package on Kali Linux

Last updated: May 01,2024

1. Install "ghc" package

Please follow the guidelines below to install ghc on Kali Linux

$ sudo apt update $ sudo apt install ghc

2. Uninstall "ghc" package

Learn how to uninstall ghc on Kali Linux:

$ sudo apt remove ghc $ sudo apt autoclean && sudo apt autoremove

3. Information about the ghc package on Kali Linux

Package: ghc
Version: 9.4.7-3
Installed-Size: 667454
Maintainer: Debian Haskell Group
Architecture: amd64
Replaces: libghc-array-dev (<< 0.5.4.0+), libghc-base-dev (<< 4.17.2.0+), libghc-binary-dev (<< 0.8.9.1+), libghc-bytestring-dev (<< 0.11.5.2+), libghc-cabal-dev (<< 3.8.1.0+), libghc-cabal-syntax-dev (<< 3.8.1.0+), libghc-containers-dev (<< 0.6.7+), libghc-deepseq-dev (<< 1.4.8.0+), libghc-directory-dev (<< 1.3.7.1+), libghc-exceptions-dev (<< 0.10.5+), libghc-filepath-dev (<< 1.4.2.2+), libghc-ghc-bignum-dev (<< 1.3+), libghc-ghc-boot-dev (<< 9.4.7+), libghc-ghc-boot-th-dev (<< 9.4.7+), libghc-ghc-compact-dev (<< 0.1.0.0+), libghc-ghc-heap-dev (<< 9.4.7+), libghc-ghc-prim-dev (<< 0.9.1+), libghc-ghci-dev (<< 9.4.7+), libghc-haskeline-dev (<< 0.8.2+), libghc-hpc-dev (<< 0.6.1.0+), libghc-integer-gmp-dev (<< 1.1+), libghc-libiserv-dev (<< 9.4.7+), libghc-mtl-dev (<< 2.2.2+), libghc-parsec3-dev (<< 3.1.16.1+), libghc-pretty-dev (<< 1.1.3.6+), libghc-process-dev (<< 1.6.17.0+), libghc-stm-dev (<< 2.5.1.0+), libghc-system-cxx-std-lib-dev (<< 1.0+), libghc-template-haskell-dev (<< 2.19.0.0+), libghc-terminfo-dev (<< 0.4.1.5+), libghc-text-dev (<< 2.0.2+), libghc-time-dev (<< 1.12.2+), libghc-transformers-dev (<< 0.5.6.2+), libghc-unix-dev (<< 2.7.3+), libghc-xhtml-dev (<< 3000.2.2.1+)
Provides: ghc-dynamic, ghc-ghci, ghc-haddock, haddock, haddock-interface-41, haskell-compiler, libghc-array-dev (= 0.5.4.0), libghc-array-dev-0.5.4.0-0952c, libghc-base-dev (= 4.17.2.0), libghc-base-dev-4.17.2.0-68dfe, libghc-binary-dev (= 0.8.9.1), libghc-binary-dev-0.8.9.1-6a9d2, libghc-bytestring-dev (= 0.11.5.2), libghc-bytestring-dev-0.11.5.2-6590e, libghc-cabal-dev (= 3.8.1.0), libghc-cabal-dev-3.8.1.0-8b92f, libghc-cabal-syntax-dev (= 3.8.1.0), libghc-cabal-syntax-dev-3.8.1.0-aa2b2, libghc-containers-dev (= 0.6.7), libghc-containers-dev-0.6.7-a1650, libghc-deepseq-dev (= 1.4.8.0), libghc-deepseq-dev-1.4.8.0-ddf16, libghc-directory-dev (= 1.3.7.1), libghc-directory-dev-1.3.7.1-e5694, libghc-exceptions-dev (= 0.10.5), libghc-exceptions-dev-0.10.5-3dbf4, libghc-filepath-dev (= 1.4.2.2), libghc-filepath-dev-1.4.2.2-290a6, libghc-ghc-bignum-dev (= 1.3), libghc-ghc-bignum-dev-1.3-90d8c, libghc-ghc-boot-dev (= 9.4.7), libghc-ghc-boot-dev-9.4.7-80851, libghc-ghc-boot-th-dev (= 9.4.7), libghc-ghc-boot-th-dev-9.4.7-f73ea, libghc-ghc-compact-dev (= 0.1.0.0), libghc-ghc-compact-dev-0.1.0.0-d6f68, libghc-ghc-dev-9.4.7-ea902, libghc-ghc-heap-dev (= 9.4.7), libghc-ghc-heap-dev-9.4.7-2e49c, libghc-ghc-prim-dev (= 0.9.1), libghc-ghc-prim-dev-0.9.1-ca9fc, libghc-ghci-dev (= 9.4.7), libghc-ghci-dev-9.4.7-8c14f, libghc-haskeline-dev (= 0.8.2), libghc-haskeline-dev-0.8.2-390ba, libghc-hpc-dev (= 0.6.1.0), libghc-hpc-dev-0.6.1.0-26360, libghc-integer-gmp-dev (= 1.1), libghc-integer-gmp-dev-1.1-4ce32, libghc-libiserv-dev (= 9.4.7), libghc-libiserv-dev-9.4.7-2b596, libghc-mtl-dev (= 2.2.2), libghc-mtl-dev-2.2.2-6f39a, libghc-parsec-dev-3.1.16.1-a16ec, libghc-parsec3-dev (= 3.1.16.1), libghc-pretty-dev (= 1.1.3.6), libghc-pretty-dev-1.1.3.6-1aa0a, libghc-process-dev (= 1.6.17.0), libghc-process-dev-1.6.17.0-29e15, libghc-rts-dev-1.0.2-921dc, libghc-stm-dev (= 2.5.1.0), libghc-stm-dev-2.5.1.0-c4a56, libghc-system-cxx-std-lib-dev (= 1.0), libghc-system-cxx-std-lib-dev-1.0-00000, libghc-template-haskell-dev (= 2.19.0.0), libghc-template-haskell-dev-2.19.0.0-a5ee2, libghc-terminfo-dev (= 0.4.1.5), libghc-terminfo-dev-0.4.1.5-712f6, libghc-text-dev (= 2.0.2), libghc-text-dev-2.0.2-0847e, libghc-time-dev (= 1.12.2), libghc-time-dev-1.12.2-491a0, libghc-transformers-dev (= 0.5.6.2), libghc-transformers-dev-0.5.6.2-931c3, libghc-unix-dev (= 2.7.3), libghc-unix-dev-2.7.3-9fc5d, libghc-xhtml-dev (= 3000.2.2.1), libghc-xhtml-dev-3000.2.2.1-27954
Depends: gcc, libgmp-dev, libffi-dev, libbsd-dev, libc6-dev, libncurses-dev, libc6 (>= 2.34), libffi8 (>= 3.4), libgmp10 (>= 2:6.3.0+dfsg), libtinfo6 (>= 6)
Pre-Depends: dpkg (>= 1.16.1)
Suggests: perl, ghc-prof, ghc-doc, llvm-15
Breaks: libghc-array-dev (<< 0.5.4.0+), libghc-base-dev (<< 4.17.2.0+), libghc-binary-dev (<< 0.8.9.1+), libghc-bytestring-dev (<< 0.11.5.2+), libghc-cabal-dev (<< 3.8.1.0+), libghc-cabal-syntax-dev (<< 3.8.1.0+), libghc-containers-dev (<< 0.6.7+), libghc-deepseq-dev (<< 1.4.8.0+), libghc-directory-dev (<< 1.3.7.1+), libghc-exceptions-dev (<< 0.10.5+), libghc-filepath-dev (<< 1.4.2.2+), libghc-ghc-bignum-dev (<< 1.3+), libghc-ghc-boot-dev (<< 9.4.7+), libghc-ghc-boot-th-dev (<< 9.4.7+), libghc-ghc-compact-dev (<< 0.1.0.0+), libghc-ghc-heap-dev (<< 9.4.7+), libghc-ghc-prim-dev (<< 0.9.1+), libghc-ghci-dev (<< 9.4.7+), libghc-haskeline-dev (<< 0.8.2+), libghc-hpc-dev (<< 0.6.1.0+), libghc-integer-gmp-dev (<< 1.1+), libghc-libiserv-dev (<< 9.4.7+), libghc-mtl-dev (<< 2.2.2+), libghc-parsec3-dev (<< 3.1.16.1+), libghc-pretty-dev (<< 1.1.3.6+), libghc-process-dev (<< 1.6.17.0+), libghc-stm-dev (<< 2.5.1.0+), libghc-system-cxx-std-lib-dev (<< 1.0+), libghc-template-haskell-dev (<< 2.19.0.0+), libghc-terminfo-dev (<< 0.4.1.5+), libghc-text-dev (<< 2.0.2+), libghc-time-dev (<< 1.12.2+), libghc-transformers-dev (<< 0.5.6.2+), libghc-unix-dev (<< 2.7.3+), libghc-xhtml-dev (<< 3000.2.2.1+)
Size: 71853468
SHA256: 9fec6f8ea3f60307818695a608dc9fbcc8854d3d66ed4d44d87f7e090edcf98c
SHA1: 1a004c5c27048995fa5918bc29cd12df68ea3760
MD5sum: f789dc7acbf17039b7dceeafadcb2025
Description: The Glasgow Haskell Compilation system
The Glorious Glasgow Haskell Compilation system (GHC) is a compiler for
Haskell.
.
Haskell is "the" standard lazy functional programming language. The language
definition and additional documentation can be found at
https://www.haskell.org/documentation/.
Description-md5:
Homepage: https://haskell.org/ghc/
Tag: devel::compiler, devel::lang:haskell, role::program, uitoolkit::ncurses
Section: haskell
Priority: optional
Filename: pool/main/g/ghc/ghc_9.4.7-3_amd64.deb