如何在RHEL6 32位机器上安装python 2.7?

How to install python 2.7 on RHEL6 32 bit machine?

我无法在默认安装了 python 2.6 的 redhat6 上安装 python2.7。还搜索了很多“python-deltarpm”和“deltarpm”的存储库,这是安装“[=14=”所必需的]createrepo',但没有得到。 我从 dvd 和 https://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/ 添加了 repo,并且 yum repolist 给出了 repolist: 11,960。 我想使用 python2.7.

安装 pip & virtualenv

Python 2.7 is available as a software collection. 但是,如果我正确解释频道数据,它只针对 x86-64 发布,甚至没有任何 i686 multlib RPM。我不知道为什么 Red Hat 不提供这样的 RPM;我建议联系客户支持,看看他们是否可以提供构建。

知道了...我安装了python2.7如下

cd /usr/src 
wget https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tgz
tar xzf Python-2.7.13.tgz
cd Python-2.7.13
./configure
make altinstall