[Mono-list] Installing multiiple Versions of mono

Jonathan Pryor jonpryor@vt.edu
Wed, 10 Nov 2004 18:04:12 -0500

On Wed, 2004-11-10 at 07:23, Philipp Knecht wrote:
> Where can i set those enviroment variables (defaults)?
> - .bashrc
> - or profile.bashrc
> - or rc.2,rc.3,... (runlevel scripts)
> - or init.d
> - somewhere else

I would suggest somewhere else.  Personally, I've put my changes in

Why somewhere else?  So that you can easily choose between them.  If you
modify ~/.bashrc (or worse, init.d, /etc/profile, or the rc scripts),
then it becomes more difficult to revert to the Mono 1.0.4 installation.

To revert to 1.0.4, you'd either need to prepend the appropriate
directories to all the environment variables, which results in
increasingly longer environment values, or explicitly modify the values,
by removing the directories you don't want, which is more difficult and
more annoying to do.

With my current setup, Mono 1.0.4 is the default, and sourcing the
config file migrates me into CVS.  To go back to 1.0.4, I start a new
shell.  Not exactly elegant, but it works.

 - Jon