On 26/11/14 12:56, Jason White wrote:

On 25/11/14 18:23, Trent W. Buck wrote:
Michele Bert <[email protected]> writes:

2014-11-25 1:31 GMT+01:00 Trent W. Buck <[email protected]>:
AFAIK there is no standard way to make it the default, though I suppose
you could do something like this in your .profile:
Have a look to the command update-alternatives
I'm not sure whether it is applicable to debian, but under Ubuntu it's
the standard way to choose between multiple version of a package, when
there are some. In my Ubuntu 12.04 the default compiler is 4.4, but I
installed also 4.6. Then with command:
sudo update-alternatives --config gcc (or g++, or whatever)


Yes, this is entirely applicable to Debian - update-alternatives is the
standard tool for this purpose in Debian, where it ORIGINATED.

Fedora has "alternatives" instead, which is described in the man page as a functional drop-in of the debian "update-alternatives" rewriten to remove perl dependencies.

_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to