//
you're reading...
Linux

Install the new python version on Linux

Download the latest python version from python website

unzip the python source code

[root@test01] tar -xvzf  Python-3.4.2.tgz

[root@test01] cd Python-3.4.2

Start the installation of the new python

[root@test01] ./configure

[root@test01] make

[root@test01] make install

Re-link the new version python bin with /usr/bin/python:

[root@test01] ln -sf /usr/local/bin/python3.4 /usr/bin/python

Advertisements

About daviewning

I am an Oracle DBA

Discussion

No comments yet.

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

%d bloggers like this: