How to Install and Uninstall ghc Package on Ubuntu 23.10 (Mantic Minotaur)
Last updated: November 07,2024
1. Install "ghc" package
Please follow the guidance below to install ghc on Ubuntu 23.10 (Mantic Minotaur)
$
sudo apt update
Copied
$
sudo apt install
ghc
Copied
2. Uninstall "ghc" package
Please follow the step by step instructions below to uninstall ghc on Ubuntu 23.10 (Mantic Minotaur):
$
sudo apt remove
ghc
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the ghc package on Ubuntu 23.10 (Mantic Minotaur)
Package: ghc
Architecture: amd64
Version: 9.0.2-5
Priority: extra
Section: universe/haskell
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Haskell Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 775964
Provides: ghc-dynamic, ghc-ghci, ghc-haddock, haddock, haddock-interface-38, haskell-compiler, libghc-array-dev (= 0.5.4.0), libghc-array-dev-0.5.4.0-0b6fa, libghc-base-dev (= 4.15.1.0), libghc-base-dev-4.15.1.0-6a406, libghc-binary-dev (= 0.8.8.0), libghc-binary-dev-0.8.8.0-507cc, libghc-bytestring-dev (= 0.10.12.1), libghc-bytestring-dev-0.10.12.1-ced9a, libghc-cabal-dev (= 3.4.1.0), libghc-cabal-dev-3.4.1.0-66159, libghc-containers-dev (= 0.6.4.1), libghc-containers-dev-0.6.4.1-31c3b, libghc-deepseq-dev (= 1.4.5.0), libghc-deepseq-dev-1.4.5.0-118cf, libghc-directory-dev (= 1.3.6.2), libghc-directory-dev-1.3.6.2-311c9, libghc-exceptions-dev (= 0.10.4), libghc-exceptions-dev-0.10.4-c14ff, libghc-filepath-dev (= 1.4.2.1), libghc-filepath-dev-1.4.2.1-4459f, libghc-ghc-bignum-dev (= 1.1), libghc-ghc-bignum-dev-1.1-04f6d, libghc-ghc-boot-dev (= 9.0.2), libghc-ghc-boot-dev-9.0.2-ef461, libghc-ghc-boot-th-dev (= 9.0.2), libghc-ghc-boot-th-dev-9.0.2-364be, libghc-ghc-compact-dev (= 0.1.0.0), libghc-ghc-compact-dev-0.1.0.0-7d71d, libghc-ghc-dev-9.0.2-740f7, libghc-ghc-heap-dev (= 9.0.2), libghc-ghc-heap-dev-9.0.2-656ed, libghc-ghc-prim-dev (= 0.7.0), libghc-ghc-prim-dev-0.7.0-65cf5, libghc-ghci-dev (= 9.0.2), libghc-ghci-dev-9.0.2-43332, libghc-haskeline-dev (= 0.8.2), libghc-haskeline-dev-0.8.2-83f75, libghc-hpc-dev (= 0.6.1.0), libghc-hpc-dev-0.6.1.0-f3caa, libghc-integer-gmp-dev (= 1.1), libghc-integer-gmp-dev-1.1-a4c99, libghc-libiserv-dev (= 9.0.2), libghc-libiserv-dev-9.0.2-91adf, libghc-mtl-dev (= 2.2.2), libghc-mtl-dev-2.2.2-e3bae, libghc-parsec-dev-3.1.14.0-377f0, libghc-parsec3-dev (= 3.1.14.0), libghc-pretty-dev (= 1.1.3.6), libghc-pretty-dev-1.1.3.6-b017f, libghc-process-dev (= 1.6.13.2), libghc-process-dev-1.6.13.2-9f25f, libghc-rts-dev-1.0.2-, libghc-stm-dev (= 2.5.0.0), libghc-stm-dev-2.5.0.0-4cba8, libghc-template-haskell-dev (= 2.17.0.0), libghc-template-haskell-dev-2.17.0.0-7274a, libghc-terminfo-dev (= 0.4.1.5), libghc-terminfo-dev-0.4.1.5-83c64, libghc-text-dev (= 1.2.5.0), libghc-text-dev-1.2.5.0-8553e, libghc-time-dev (= 1.9.3), libghc-time-dev-1.9.3-bda76, libghc-transformers-dev (= 0.5.6.2), libghc-transformers-dev-0.5.6.2-fc6f3, libghc-unix-dev (= 2.7.2.2), libghc-unix-dev-2.7.2.2-bdab4, libghc-xhtml-dev (= 3000.2.2.1), libghc-xhtml-dev-3000.2.2.1-d55d6
Pre-Depends: dpkg (>= 1.16.1)
Depends: gcc, libgmp-dev, libffi-dev, libbsd-dev, libc6-dev, libncurses-dev, libc6 (>= 2.34), libffi8 (>= 3.4), libgmp10 (>= 2:6.2.1+dfsg1), libtinfo6 (>= 6)
Suggests: perl, ghc-prof, ghc-doc, haskell-doc, llvm-13
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.4.0+), libghc-base-dev (<< 4.15.1.0+), libghc-binary-dev (<< 0.8.8.0+), libghc-bytestring-dev (<< 0.10.12.1+), libghc-cabal-dev (<< 3.4.1.0+), libghc-containers-dev (<< 0.6.4.1+), libghc-deepseq-dev (<< 1.4.5.0+), libghc-directory-dev (<< 1.3.6.2+), libghc-exceptions-dev (<< 0.10.4+), libghc-filepath-dev (<< 1.4.2.1+), libghc-ghc-bignum-dev (<< 1.1+), libghc-ghc-boot-dev (<< 9.0.2+), libghc-ghc-boot-th-dev (<< 9.0.2+), libghc-ghc-compact-dev (<< 0.1.0.0+), libghc-ghc-heap-dev (<< 9.0.2+), libghc-ghc-prim-dev (<< 0.7.0+), libghc-ghci-dev (<< 9.0.2+), libghc-haskeline-dev (<< 0.8.2+), libghc-hpc-dev (<< 0.6.1.0+), libghc-integer-gmp-dev (<< 1.1+), libghc-libiserv-dev (<< 9.0.2+), libghc-mtl-dev (<< 2.2.2+), libghc-parsec3-dev (<< 3.1.14.0+), libghc-pretty-dev (<< 1.1.3.6+), libghc-process-dev (<< 1.6.13.2+), libghc-stm-dev (<< 2.5.0.0+), libghc-template-haskell-dev (<< 2.17.0.0+), libghc-terminfo-dev (<< 0.4.1.5+), libghc-text-dev (<< 1.2.5.0+), libghc-time-dev (<< 1.9.3+), libghc-transformers-dev (<< 0.5.6.2+), libghc-unix-dev (<< 2.7.2.2+), libghc-xhtml-dev (<< 3000.2.2.1+)
Replaces: ghc-dynamic (<< 7.8), ghc-haddock (<< 7.10), ghc6 (<< 7), libghc-array-dev (<< 0.5.4.0+), libghc-base-dev (<< 4.15.1.0+), libghc-binary-dev (<< 0.8.8.0+), libghc-bytestring-dev (<< 0.10.12.1+), libghc-cabal-dev (<< 3.4.1.0+), libghc-containers-dev (<< 0.6.4.1+), libghc-deepseq-dev (<< 1.4.5.0+), libghc-directory-dev (<< 1.3.6.2+), libghc-exceptions-dev (<< 0.10.4+), libghc-filepath-dev (<< 1.4.2.1+), libghc-ghc-bignum-dev (<< 1.1+), libghc-ghc-boot-dev (<< 9.0.2+), libghc-ghc-boot-th-dev (<< 9.0.2+), libghc-ghc-compact-dev (<< 0.1.0.0+), libghc-ghc-heap-dev (<< 9.0.2+), libghc-ghc-prim-dev (<< 0.7.0+), libghc-ghci-dev (<< 9.0.2+), libghc-haskeline-dev (<< 0.8.2+), libghc-hpc-dev (<< 0.6.1.0+), libghc-integer-gmp-dev (<< 1.1+), libghc-libiserv-dev (<< 9.0.2+), libghc-mtl-dev (<< 2.2.2+), libghc-parsec3-dev (<< 3.1.14.0+), libghc-pretty-dev (<< 1.1.3.6+), libghc-process-dev (<< 1.6.13.2+), libghc-stm-dev (<< 2.5.0.0+), libghc-template-haskell-dev (<< 2.17.0.0+), libghc-terminfo-dev (<< 0.4.1.5+), libghc-text-dev (<< 1.2.5.0+), libghc-time-dev (<< 1.9.3+), libghc-transformers-dev (<< 0.5.6.2+), libghc-unix-dev (<< 2.7.2.2+), libghc-xhtml-dev (<< 3000.2.2.1+)
Filename: pool/universe/g/ghc/ghc_9.0.2-5_amd64.deb
Size: 80649384
MD5sum: 5e1e4206d65d33ff42355bc8e1a3ac2f
SHA1: f89b6efd69ed55e2f6962fde7ab6f24674925653
SHA256: 9867ed1d8335169a116eeed0374a8d6b3ab92dd2364d7d530d8f1610e388f379
SHA512: 9933b2132ddb790ab251de6670008fb42d882e26c9d086ac203d99d6f6ebc3408d826a21a72f64b9a66c603768f3f19f7e91581c6e52183f92248b37732ddb7a
Homepage: https://haskell.org/ghc/
Description: The Glasgow Haskell Compilation system
Description-md5: d696780bb03e075568c919469ec4c73c
Architecture: amd64
Version: 9.0.2-5
Priority: extra
Section: universe/haskell
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Haskell Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 775964
Provides: ghc-dynamic, ghc-ghci, ghc-haddock, haddock, haddock-interface-38, haskell-compiler, libghc-array-dev (= 0.5.4.0), libghc-array-dev-0.5.4.0-0b6fa, libghc-base-dev (= 4.15.1.0), libghc-base-dev-4.15.1.0-6a406, libghc-binary-dev (= 0.8.8.0), libghc-binary-dev-0.8.8.0-507cc, libghc-bytestring-dev (= 0.10.12.1), libghc-bytestring-dev-0.10.12.1-ced9a, libghc-cabal-dev (= 3.4.1.0), libghc-cabal-dev-3.4.1.0-66159, libghc-containers-dev (= 0.6.4.1), libghc-containers-dev-0.6.4.1-31c3b, libghc-deepseq-dev (= 1.4.5.0), libghc-deepseq-dev-1.4.5.0-118cf, libghc-directory-dev (= 1.3.6.2), libghc-directory-dev-1.3.6.2-311c9, libghc-exceptions-dev (= 0.10.4), libghc-exceptions-dev-0.10.4-c14ff, libghc-filepath-dev (= 1.4.2.1), libghc-filepath-dev-1.4.2.1-4459f, libghc-ghc-bignum-dev (= 1.1), libghc-ghc-bignum-dev-1.1-04f6d, libghc-ghc-boot-dev (= 9.0.2), libghc-ghc-boot-dev-9.0.2-ef461, libghc-ghc-boot-th-dev (= 9.0.2), libghc-ghc-boot-th-dev-9.0.2-364be, libghc-ghc-compact-dev (= 0.1.0.0), libghc-ghc-compact-dev-0.1.0.0-7d71d, libghc-ghc-dev-9.0.2-740f7, libghc-ghc-heap-dev (= 9.0.2), libghc-ghc-heap-dev-9.0.2-656ed, libghc-ghc-prim-dev (= 0.7.0), libghc-ghc-prim-dev-0.7.0-65cf5, libghc-ghci-dev (= 9.0.2), libghc-ghci-dev-9.0.2-43332, libghc-haskeline-dev (= 0.8.2), libghc-haskeline-dev-0.8.2-83f75, libghc-hpc-dev (= 0.6.1.0), libghc-hpc-dev-0.6.1.0-f3caa, libghc-integer-gmp-dev (= 1.1), libghc-integer-gmp-dev-1.1-a4c99, libghc-libiserv-dev (= 9.0.2), libghc-libiserv-dev-9.0.2-91adf, libghc-mtl-dev (= 2.2.2), libghc-mtl-dev-2.2.2-e3bae, libghc-parsec-dev-3.1.14.0-377f0, libghc-parsec3-dev (= 3.1.14.0), libghc-pretty-dev (= 1.1.3.6), libghc-pretty-dev-1.1.3.6-b017f, libghc-process-dev (= 1.6.13.2), libghc-process-dev-1.6.13.2-9f25f, libghc-rts-dev-1.0.2-, libghc-stm-dev (= 2.5.0.0), libghc-stm-dev-2.5.0.0-4cba8, libghc-template-haskell-dev (= 2.17.0.0), libghc-template-haskell-dev-2.17.0.0-7274a, libghc-terminfo-dev (= 0.4.1.5), libghc-terminfo-dev-0.4.1.5-83c64, libghc-text-dev (= 1.2.5.0), libghc-text-dev-1.2.5.0-8553e, libghc-time-dev (= 1.9.3), libghc-time-dev-1.9.3-bda76, libghc-transformers-dev (= 0.5.6.2), libghc-transformers-dev-0.5.6.2-fc6f3, libghc-unix-dev (= 2.7.2.2), libghc-unix-dev-2.7.2.2-bdab4, libghc-xhtml-dev (= 3000.2.2.1), libghc-xhtml-dev-3000.2.2.1-d55d6
Pre-Depends: dpkg (>= 1.16.1)
Depends: gcc, libgmp-dev, libffi-dev, libbsd-dev, libc6-dev, libncurses-dev, libc6 (>= 2.34), libffi8 (>= 3.4), libgmp10 (>= 2:6.2.1+dfsg1), libtinfo6 (>= 6)
Suggests: perl, ghc-prof, ghc-doc, haskell-doc, llvm-13
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.4.0+), libghc-base-dev (<< 4.15.1.0+), libghc-binary-dev (<< 0.8.8.0+), libghc-bytestring-dev (<< 0.10.12.1+), libghc-cabal-dev (<< 3.4.1.0+), libghc-containers-dev (<< 0.6.4.1+), libghc-deepseq-dev (<< 1.4.5.0+), libghc-directory-dev (<< 1.3.6.2+), libghc-exceptions-dev (<< 0.10.4+), libghc-filepath-dev (<< 1.4.2.1+), libghc-ghc-bignum-dev (<< 1.1+), libghc-ghc-boot-dev (<< 9.0.2+), libghc-ghc-boot-th-dev (<< 9.0.2+), libghc-ghc-compact-dev (<< 0.1.0.0+), libghc-ghc-heap-dev (<< 9.0.2+), libghc-ghc-prim-dev (<< 0.7.0+), libghc-ghci-dev (<< 9.0.2+), libghc-haskeline-dev (<< 0.8.2+), libghc-hpc-dev (<< 0.6.1.0+), libghc-integer-gmp-dev (<< 1.1+), libghc-libiserv-dev (<< 9.0.2+), libghc-mtl-dev (<< 2.2.2+), libghc-parsec3-dev (<< 3.1.14.0+), libghc-pretty-dev (<< 1.1.3.6+), libghc-process-dev (<< 1.6.13.2+), libghc-stm-dev (<< 2.5.0.0+), libghc-template-haskell-dev (<< 2.17.0.0+), libghc-terminfo-dev (<< 0.4.1.5+), libghc-text-dev (<< 1.2.5.0+), libghc-time-dev (<< 1.9.3+), libghc-transformers-dev (<< 0.5.6.2+), libghc-unix-dev (<< 2.7.2.2+), libghc-xhtml-dev (<< 3000.2.2.1+)
Replaces: ghc-dynamic (<< 7.8), ghc-haddock (<< 7.10), ghc6 (<< 7), libghc-array-dev (<< 0.5.4.0+), libghc-base-dev (<< 4.15.1.0+), libghc-binary-dev (<< 0.8.8.0+), libghc-bytestring-dev (<< 0.10.12.1+), libghc-cabal-dev (<< 3.4.1.0+), libghc-containers-dev (<< 0.6.4.1+), libghc-deepseq-dev (<< 1.4.5.0+), libghc-directory-dev (<< 1.3.6.2+), libghc-exceptions-dev (<< 0.10.4+), libghc-filepath-dev (<< 1.4.2.1+), libghc-ghc-bignum-dev (<< 1.1+), libghc-ghc-boot-dev (<< 9.0.2+), libghc-ghc-boot-th-dev (<< 9.0.2+), libghc-ghc-compact-dev (<< 0.1.0.0+), libghc-ghc-heap-dev (<< 9.0.2+), libghc-ghc-prim-dev (<< 0.7.0+), libghc-ghci-dev (<< 9.0.2+), libghc-haskeline-dev (<< 0.8.2+), libghc-hpc-dev (<< 0.6.1.0+), libghc-integer-gmp-dev (<< 1.1+), libghc-libiserv-dev (<< 9.0.2+), libghc-mtl-dev (<< 2.2.2+), libghc-parsec3-dev (<< 3.1.14.0+), libghc-pretty-dev (<< 1.1.3.6+), libghc-process-dev (<< 1.6.13.2+), libghc-stm-dev (<< 2.5.0.0+), libghc-template-haskell-dev (<< 2.17.0.0+), libghc-terminfo-dev (<< 0.4.1.5+), libghc-text-dev (<< 1.2.5.0+), libghc-time-dev (<< 1.9.3+), libghc-transformers-dev (<< 0.5.6.2+), libghc-unix-dev (<< 2.7.2.2+), libghc-xhtml-dev (<< 3000.2.2.1+)
Filename: pool/universe/g/ghc/ghc_9.0.2-5_amd64.deb
Size: 80649384
MD5sum: 5e1e4206d65d33ff42355bc8e1a3ac2f
SHA1: f89b6efd69ed55e2f6962fde7ab6f24674925653
SHA256: 9867ed1d8335169a116eeed0374a8d6b3ab92dd2364d7d530d8f1610e388f379
SHA512: 9933b2132ddb790ab251de6670008fb42d882e26c9d086ac203d99d6f6ebc3408d826a21a72f64b9a66c603768f3f19f7e91581c6e52183f92248b37732ddb7a
Homepage: https://haskell.org/ghc/
Description: The Glasgow Haskell Compilation system
Description-md5: d696780bb03e075568c919469ec4c73c