Blog Archives

How to change default Python version in Ubuntu ?


Sometimes, you may require to change default python version of your linux operating system.
you can accomplish it by using following steps. First make sure you have root level privileges.

Now, you can see following lines which will be different according to operating system. Make changes into ‘default-version’ and save this file.

In next step, we have to change default link file of python.

Just move old file to another location.

Now again create symbolic link for python.

Check your python version.

 

How to install python2.5 in ubuntu 11.04 ?


Today for some urgent programs, need to work in Python 2.5 in Ubuntu 11.04.

But Ubuntu 11.04 is giving Python 2.7 by default. So I tried to install Python 2.5 but got some difficulties.
So I did R & D and found this solution. I know its very helpful so sharing with you guys.

sudo add-apt-repository ppa:fkrull/deadsnakes



sudo apt-get update



sudo apt-get install python2.5



Follow

Get every new post delivered to your Inbox.

Join 322 other followers

Build a website with WordPress.com
%d bloggers like this: