How to Install and Uninstall ghc Package on Arch Linux

Last updated: March 14,2025

1. Install "ghc" package

In this section, we are going to explain the necessary steps to install ghc on Arch Linux

$ sudo pacman -Sy $ sudo pacman -S ghc

2. Uninstall "ghc" package

This is a short guide on how to uninstall ghc on Arch Linux:

$ sudo pacman -Rcns ghc

3. Information about the ghc package on Arch Linux

Repository : extra
Name : ghc
Version : 9.2.8-1
Description : The Glasgow Haskell Compiler
Architecture : x86_64
URL : https://www.haskell.org/ghc/
Licenses : custom
Groups : None
Provides : haskell-haddock=2.26.0 haskell-hp2ps=0.1
haskell-hpc-bin=0.68 haskell-hsc2hs=0.68.8
haskell-ghc=9.2.8
Depends On : gcc ghc-libs
Optional Deps : None
Conflicts With : None
Replaces : haskell-haddock haskell-hp2ps haskell-hpc-bin
haskell-hsc2hs haskell-ghc
Download Size : 33.73 MiB
Installed Size : 232.52 MiB
Packager : Felix Yan
Build Date : Sun Feb 25 20:08:22 2024
Validated By : MD5 Sum SHA-256 Sum Signature