[CentOS] alternatives package?

Tue Mar 11 22:33:15 UTC 2008
Ignacio Vazquez-Abrams <ivazqueznet at gmail.com>

On Tue, 2008-03-11 at 18:20 -0400, Eric B. wrote:
> In my struggle today to get python2.4 installed on my CentOS4 system, I saw 
> that it installed a packaged called alternatives which is supposed to handle 
> symbolic links to default commands in a nice clean, structured way. 
> However, I am having trouble understanding how this thing works.
> 
> I have read the man page half a dozen times already, and yet the alternative 
> link for python which was installed doesn't seem to follow what is written 
> in the man page.  I am trying to modify the default behaviour for it, but 
> having a lot of difficulty.

As an end-user, the only important commands you need are:

"alternatives --display <name>": Show information about an alternative
"alternatives --config <name>": Allow selection of an alternative
"ls /var/lib/alternatives": Show valid alternatives

-- 
Ignacio Vazquez-Abrams <ivazqueznet at gmail.com>

PLEASE don't CC me; I'm already subscribed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20080311/1b6f5bbb/attachment-0004.sig>