How to Install and Uninstall ghc Package on Debian 10 (Buster)

Last updated: December 27,2024

1. Install "ghc" package

Please follow the steps below to install ghc on Debian 10 (Buster)

$ sudo apt update $ sudo apt install ghc

2. Uninstall "ghc" package

Learn how to uninstall ghc on Debian 10 (Buster):

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

3. Information about the ghc package on Debian 10 (Buster)

Package: ghc
Version: 8.4.4+dfsg1-3
Installed-Size: 733324
Maintainer: Debian Haskell Group
Architecture: amd64
Replaces: ghc-dynamic (<< 7.8), ghc-haddock (<< 7.10), ghc6 (<< 7), libghc-array-dev (<< 0.5.2.0+), libghc-base-dev (<< 4.11.1.0+), libghc-binary-dev (<< 0.8.5.1+), libghc-bytestring-dev (<< 0.10.8.2+), libghc-cabal-dev (<< 2.2.0.1+), libghc-containers-dev (<< 0.5.11.0+), libghc-deepseq-dev (<< 1.4.3.0+), libghc-directory-dev (<< 1.3.1.5+), libghc-filepath-dev (<< 1.4.2+), libghc-ghc-boot-dev (<< 8.4.4+), libghc-ghc-boot-th-dev (<< 8.4.4+), libghc-ghc-compact-dev (<< 0.1.0.0+), libghc-ghc-prim-dev (<< 0.5.2.0+), libghc-ghci-dev (<< 8.4.4+), libghc-haskeline-dev (<< 0.7.4.2+), libghc-hpc-dev (<< 0.6.0.3+), libghc-integer-gmp-dev (<< 1.0.2.0+), libghc-mtl-dev (<< 2.2.2+), libghc-parsec3-dev (<< 3.1.13.0+), libghc-pretty-dev (<< 1.1.3.6+), libghc-process-dev (<< 1.6.3.0+), libghc-stm-dev (<< 2.4.5.1+), libghc-template-haskell-dev (<< 2.13.0.0+), libghc-terminfo-dev (<< 0.4.1.1+), libghc-text-dev (<< 1.2.3.1+), libghc-time-dev (<< 1.8.0.2+), libghc-transformers-dev (<< 0.5.5.0+), libghc-unix-dev (<< 2.7.2.2+), libghc-xhtml-dev (<< 3000.2.2.1+)
Provides: ghc-dynamic, ghc-ghci, ghc-haddock, haddock, haddock-interface-33, haskell-compiler, libghc-array-dev (= 0.5.2.0), libghc-array-dev-0.5.2.0-03a64, libghc-base-dev (= 4.11.1.0), libghc-base-dev-4.11.1.0-5dd74, libghc-binary-dev (= 0.8.5.1), libghc-binary-dev-0.8.5.1-24ea6, libghc-bytestring-dev (= 0.10.8.2), libghc-bytestring-dev-0.10.8.2-76891, libghc-cabal-dev (= 2.2.0.1), libghc-cabal-dev-2.2.0.1-b59e4, libghc-containers-dev (= 0.5.11.0), libghc-containers-dev-0.5.11.0-e0faa, libghc-deepseq-dev (= 1.4.3.0), libghc-deepseq-dev-1.4.3.0-17e4f, libghc-directory-dev (= 1.3.1.5), libghc-directory-dev-1.3.1.5-a6230, libghc-filepath-dev (= 1.4.2), libghc-filepath-dev-1.4.2-27f5e, libghc-ghc-boot-dev (= 8.4.4), libghc-ghc-boot-dev-8.4.4-17a9f, libghc-ghc-boot-th-dev (= 8.4.4), libghc-ghc-boot-th-dev-8.4.4-d8bd5, libghc-ghc-compact-dev (= 0.1.0.0), libghc-ghc-compact-dev-0.1.0.0-1d6e8, libghc-ghc-dev-8.4.4-06393, libghc-ghc-prim-dev (= 0.5.2.0), libghc-ghc-prim-dev-0.5.2.0-0a259, libghc-ghci-dev (= 8.4.4), libghc-ghci-dev-8.4.4-973ae, libghc-haskeline-dev (= 0.7.4.2), libghc-haskeline-dev-0.7.4.2-df8c7, libghc-hpc-dev (= 0.6.0.3), libghc-hpc-dev-0.6.0.3-b0226, libghc-integer-gmp-dev (= 1.0.2.0), libghc-integer-gmp-dev-1.0.2.0-28d9d, libghc-mtl-dev (= 2.2.2), libghc-mtl-dev-2.2.2-28a8b, libghc-parsec-dev-3.1.13.0-e94f4, libghc-parsec3-dev (= 3.1.13.0), libghc-pretty-dev (= 1.1.3.6), libghc-pretty-dev-1.1.3.6-aea39, libghc-process-dev (= 1.6.3.0), libghc-process-dev-1.6.3.0-5105e, libghc-rts-dev-1.0-, libghc-stm-dev (= 2.4.5.1), libghc-stm-dev-2.4.5.1-e1689, libghc-template-haskell-dev (= 2.13.0.0), libghc-template-haskell-dev-2.13.0.0-87d93, libghc-terminfo-dev (= 0.4.1.1), libghc-terminfo-dev-0.4.1.1-7c97c, libghc-text-dev (= 1.2.3.1), libghc-text-dev-1.2.3.1-30bbe, libghc-time-dev (= 1.8.0.2), libghc-time-dev-1.8.0.2-2ae9f, libghc-transformers-dev (= 0.5.5.0), libghc-transformers-dev-0.5.5.0-b5d2f, libghc-unix-dev (= 2.7.2.2), libghc-unix-dev-2.7.2.2-fe53d, libghc-xhtml-dev (= 3000.2.2.1), libghc-xhtml-dev-3000.2.2.1-e4498
Depends: gcc, libgmp-dev, libffi-dev, libbsd-dev, libc6-dev, libncurses5-dev, libatomic1 (>= 4.8), libc6 (>= 2.27), libffi6 (>= 3.0.4), libgmp10, libtinfo6 (>= 6)
Pre-Depends: dpkg (>= 1.16.1)
Suggests: perl, ghc-prof, ghc-doc, haskell-doc, llvm-6.0
Conflicts: ghc-dynamic (<< 7.8), ghc6 (<< 7)
Breaks: cabal-install (<< 1.22), ghc-doc (<< 7.10), ghc-haddock (<< 7.10), haskell-devscripts (<< 0.8.13), libghc-array-dev (<< 0.5.2.0+), libghc-base-dev (<< 4.11.1.0+), libghc-binary-dev (<< 0.8.5.1+), libghc-bytestring-dev (<< 0.10.8.2+), libghc-cabal-dev (<< 2.2.0.1+), libghc-containers-dev (<< 0.5.11.0+), libghc-deepseq-dev (<< 1.4.3.0+), libghc-directory-dev (<< 1.3.1.5+), libghc-filepath-dev (<< 1.4.2+), libghc-ghc-boot-dev (<< 8.4.4+), libghc-ghc-boot-th-dev (<< 8.4.4+), libghc-ghc-compact-dev (<< 0.1.0.0+), libghc-ghc-prim-dev (<< 0.5.2.0+), libghc-ghci-dev (<< 8.4.4+), libghc-haskeline-dev (<< 0.7.4.2+), libghc-hpc-dev (<< 0.6.0.3+), libghc-integer-gmp-dev (<< 1.0.2.0+), libghc-mtl-dev (<< 2.2.2+), libghc-parsec3-dev (<< 3.1.13.0+), libghc-pretty-dev (<< 1.1.3.6+), libghc-process-dev (<< 1.6.3.0+), libghc-stm-dev (<< 2.4.5.1+), libghc-template-haskell-dev (<< 2.13.0.0+), libghc-terminfo-dev (<< 0.4.1.1+), libghc-text-dev (<< 1.2.3.1+), libghc-time-dev (<< 1.8.0.2+), libghc-transformers-dev (<< 0.5.5.0+), libghc-unix-dev (<< 2.7.2.2+), libghc-xhtml-dev (<< 3000.2.2.1+)
Description: The Glasgow Haskell Compilation system
Description-md5: d696780bb03e075568c919469ec4c73c
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_8.4.4+dfsg1-3_amd64.deb
Size: 67645712
MD5sum: 1486c3a074a8744338575e2e7d66f266
SHA256: 734b3bba766614537baeef4f9decf01f0548c564c415f24e481fad46384cc7ef