Enter the command below to get root privilege.

su –

or

sudo su  

Installing Development Tools

yum groupinstall ‘development tools’

Installing dependencies require by Python 2.7.6

yum install -y zlib-dev openssl-devel sqlite-devel bzip2-devel wget

Downloading Python 2.7.6 source.

wget http://python.org/ftp/python/2.7.6/Python-2.7.6.tar.xzCode language: JavaScript (javascript)

Unpacking Python 2.7.6 source.

tar -xvf Python-2.7.6.tar.xzCode language: CSS (css)

Entering into Python 2.7.6 source directory.

cd Python-2.7.6Code language: CSS (css)

Commands used to compile and install Python 2.7.6. make

make install
make clean

Now we have Python 2.7.6 installed on our CentOS system. If you have any problem feel free to leave a comment below.

I compiled a list of software and services that I use to improve my workflow, here is the link to the list.

Darryl Dias

I’m Darryl. I’m a 3D Artist, Programmer and Linux enthusiast. On this site I share my insights, tips and tricks, tutorials, methods and best practices.