Wednesday, April 12, 2017

Installing Python 2.6 on Linux

# wget

# tar -zxvf Python-2.6.6.tgz

# cd Python-2.6.6

# ./configure && make && make install

There can be a dependency error use

# yum install gcc cc

Add the install path (/usr/local/bin/python by default) to ~/.bash_profile.

# ln -s /usr/bin/python26 ~/bin/python

# export PATH=~/bin:$PATH # Append this to your ~/.bash_profile for persistence

Now, python command will execute python 2.6

No comments:

Post a Comment

Perfect order of ODI export and import

  Smart Export / Import is the recommended way to achieve such a migration. This is the easiest way to make sure all the dependencies are ta...