
12 Oct
2009
12 Oct
'09
10:16 p.m.
On Mon, 2009-10-12 at 16:04 -0400, Brent Yorgey wrote:
What's the canonical way to install a version of ghc but not have it be the default? i.e., I'd like to try testing this release candidate but I want to have to call it explicitly; I want 'ghc', 'ghc-pkg' etc. to still be aliases to ghc-6.10.4, instead of being overwritten by the 6.12.1 install.
What I do is keep my default as /usr/bin/ghc, then when I install testing versions I just rm the unversioned ghc scripts that get installed in /usr/local/bin/ (because /usr/local/bin appears on my $PATH first). Duncan