HUnit is a unit testing framework for Haskell, inspired by the JUnit tool for Java. After uninstalling, run this command to unregister the package from the ghc package database: ghc-pkg recache