Installing python 3.2.2 on centos 7
hi guys,
i specifically want to install 32 bit python 3.2.2 as it was recommended to me by another user on my centos 7 box...i have been googling but only found a post for rhel 6...so i didnt follow the instructions...thought i would check here first... do i have to download the source...i found it here: https://www.python.org/download/releases/3.2.2/ and compile it myself...i hope so...never done that :-) any ideas of what/where i should try/go? |
Be VERY CAREFUL installing a non-default version of python on RHEL/CentOS!!!!
Yum uses python, if you replace the default version you could permanently kill yum, which means you will be cut off from all repos, updates, installation, etc. If you want to install a non-default version of python, you MUST choose a custom installation location, do NOT let it replace the default version. |
thanks for that advice...will follow
also...could you not just install the default version again...are you saying you would potentially have to reinstall your whole OS??? anything else you can add?...please |
Download/extract the tarball and follow the included instructions (usually in README or INSTALL)? Installing from source is usually pretty straight forward.
|
WARNING !!!!!!!
to REPEAT!!!!!!!! Quote:
yum DEPENDS!!!!!!!! on the default version of Python Now a second version can be installed in a side -by- side BUT you will need to use a NON!!!! standard install location and change the program name!!!! see: Code:
./configure --help Warning: use EXTREME CAUTION!!!!!!!! |
How to install both Python 2 and 3 on Centos 6: http://toomuchdata.com/2014/02/16/ho...hon-on-centos/
I guess these instructions can be transferred to your use case, but perhaps you should set up a non-Centos virtual machine and use that for your development and testing. |
hi berndbausch
is this just a centos problem or a general linux problem am i better off installing debian slackware or something else to tinker with python? thanks |
I don't know if there are system tools in Debian that require a certain python version. Slackware should be safe though.
|
All times are GMT -5. The time now is 08:55 AM. |