[Haskell-cafe] [OT] GHC uninstall on Linux

Dusan Kolar kolar at fit.vutbr.cz
Fri Nov 9 06:54:27 EST 2007

Hello all,

  Thank you for your replies and tips. The idea of having several 
versions of GHC in parallel is nice, but I don't long for it even if 
space is not a problem.

  To post some resolution: the stuff is (if installed using default 
settings) in the directories /usr/local/bin, /usr/local/lib, and 
/usr/local/share/doc. It is easy to find and remove /usr/local/lib/ghc* 
and /usr/local/share/doc/ghc* directories. Nevertheless, in the 
/usr/local/bin directory, you should search not only for *ghc* but even 
for other stuff that may be part of installation if other components are 
installed as well, they are: hasktags, hp2ps, hpc, hsc2hs, runhaskell.

  From the proposed tools, I gave a try to GNU stow tool. I can 
recommend it as it is easy to use and it can detect conflicts (the way I 
have discovered other files than *ghc* in the /usr/local/bin).

  Thx and regards


>>  I use tar.bz2 binary distribution of GHC compiler as my distro does not 
>> use any supported packaging system. Everything is fine, but... I want to 
>> install the new version of the GHC compiler. Is there any (easy) way, how 
>> to get information about what was copied and where during installation? 
>> (./configure; make install) There seems to be no uninstall target in the 
>> Makefile. :-( And I want to uninstall the previous version of the compiler.
> You don't need to uninstall GHC, ever, except for disk space reasons.
> You can easily have thirteen versions of GHC installed and happily
> coexisting:
> stefan at stefans:~$ ghci-6.
> ghci-6.4.2         ghci-6.7           ghci-6.7.20070223
> ghci-6.7.20070402  ghci-6.7.20070502  ghci-6.7.20070601
> ghci-6.7.20070712  ghci-6.7.20070829  ghci-6.6.1
> ghci-6.7.20070213  ghci-6.7.20070323  ghci-6.7.20070413
> ghci-6.7.20070518  ghci-6.7.20070612  ghci-6.7.20070826
> Stefan

More information about the Haskell-Cafe mailing list