The 'cabal' command-line program simplifies the process of managing Haskell software by automating the fetching, configuration, compilation and installation of Haskell libraries and programs. After uninstalling, run this command to unregister the package from the ghc package database: ghc-pkg recache