Ghc-pkg
The command ghc-pkg can be used to handle GHC packages.
Most used commands:
ghc-pkg unregister
Remove a package from the GHC administration.
ghc-pkg list
List all the registered packages.
For more information, see the official documentation.