Here Python 3.5.0 has been released on 13 September 2015 . Now Python 3.x version is available and main improvement on python 3.x is Unicode support with saner bytes .More about Python Version 2 and Python Version 3 , you can find on wiki for python 2 or 3 here .
Update the OS Applications :
Before making installation , you should update the default system . You can run the below command to update CentOs / RHEL applications.
# yum –y update
Steps of Python Installation :
Here we are following python installation from source package, through source package we will download the soruce package from official site and extract the archive file and compile and build the appcalication. Find below steps to download, compile and build.
Download Python 3.5.0 :
Extract Source Archive and build :
# tar xzf Python-3.5.0.tgz # cd Python-3.5.0
In next steps we are going to configure the installation directory on /usr/local, We can change the path .
# ./configure --prefix=/usr/local
Building and installing Python through below make altinstall command , this command will replace the python , which is using by the server.
# make altinstall
Check and Verify Python Version :
# python3.5 –V Python 3.5.0
I am a professional freelance contributor and founder of tech transit. Love to write and lover of education, culture, and community. I have been using it, setting, supporting, and maintaining it since 2009.Linux rocks!