Posted in PHP / Python, Ubuntu

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.

 

Advertisements

Author:

Specialised in OpenERP/CRM Solutions, software development, Web development, E commerce solutions & other open source solutions.

2 thoughts on “How to change default Python version in Ubuntu ?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s