Advice on Multiple GHC installations
brad.larsen at gmail.com
Fri Apr 16 00:13:17 EDT 2010
Many choices were suggested! For now, I have decided to go with stow.
I installed 3 versions of GHC in /usr/local/stow, and installed
cabal-install locally (i.e. to my home directory), built with ghc
6.12.1. I'm not sure that this is the best way to go about this, but
it's what I'm working with for now. I experimented a little bit, and
switching between default ghc versions seems to work, not breaking my
installation of cabal-install in my home directory.
I seriously considered the simpler `manual symlink' approach, or even
just installing in sequence to /usr/local 6.8.3, 6.10.4, and 6.12.1.
These alternatives could both permit having several versions of ghc in
my PATH simultaneously (e.g., /usr/local/bin/ghc-6.10.4 and
/usr/local/bin/ghc-6.12.1). With stow, only the currently selected
`installed' ghc binaries will show up in /usr/local/bin.
On Tue, Apr 13, 2010 at 11:30 AM, Nils Anders Danielsson
<nad at cs.nott.ac.uk> wrote:
> On 2010-04-13 15:08, Dave Bayer wrote:
>> Why not just use symbolic links?
> When using stow I am just using symbolic links (and directories), except
> that I don't need to create them all manually, and I can remove all of
> them with a single command. I don't need to modify my PATH.
>> I only believe in scattering program parts through
>> /usr/local/[bin,lib,doc] if I believe they will work, will never need
>> upgrading for the life of my OS [...]
> When using stow you can easily uninstall things: just use "stow -D" to
> remove the symbolic links (and directories which only contain such
> links), and then you can delete the single directory which contains all
> the files.
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
More information about the Glasgow-haskell-users