[fsug-bangalore] [tech] Re-setting Debian default python version
Rakesh 'arky' Ambati
rakesh_ambati@[EMAIL-PROTECTED]
Thu Feb 9 05:33:59 IST 2006
--- Rakesh 'arky' Ambati <rakesh_ambati at yahoo.com>
wrote:
> Hi List,
>
> Am trying to have python2.4 runtime only on Debian
> Sid, The Debian's default Python version is
> currently
> v2.3.
Well, this is my current method. Perhaps someone may
come up with a better one.
(Cleaned up old python all old run-times & keep only
2.4)
$ apt-get install python2.4
(create the default symbolic link )
$ ln -s /usr/bin/python2.4 /usr/bin/python
(checking default python version)
$ python -V
Python 2.4.2
(build dummy equivs package)
$ equivs-control python
(edit the python control file)
$ cat python
Section: misc
Priority: optional
Standards-Version: 3.5.10
Package: python
Version: 2.3.5-5-1
Maintainer: Arky <arky at gnu.org.in>
Architecture: all
Description: Arky's Dummy equivs package for python
(build package)
$ equivs-build python
(install the dummy package)
$ dpkg -i python_2.3.5-5-1_all.deb
Please kindly correct and suggest better solution.
Cheers
--arky
More information about the Fsug-Bangalore
mailing list