[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: python -> python2.4: debian way?

On Wed, Jun 15, 2005 at 02:09:35 PM +0200, Roel Schroeven wrote:
> Hi,
> I'm wondering how I should make debian start python2.4 when I type 
> python. I guess I could just modify the symlink so that /usr/bin/python 
> points to /usr/bin/python2.4 instead of /usr/bin/python2.3, but I'm not 
> sure that it won't screw up anything. What's the Debian way to do this?

update-alternatives --set python /usr/bin/python2.4

Or alternatively:

update-alternatives --config python

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

Thomas Stivers	e-mail: stivers_t@tomass.dyndns.org

Attachment: signature.asc
Description: Digital signature

Reply to: