擅长:python、mysql、java
<p>不要搞乱你的系统安装-软件包管理员应该对此负责。确保从源代码安装时,在单独的目录中进行安装。在</p>
<p>我在我的主目录中安装东西。我喜欢jhbuild,所以这是我用来并排维护python不同版本的工具:<a href="https://thomas.apestaart.org/thomas/trac/browser/jhbuild/python" rel="nofollow">https://thomas.apestaart.org/thomas/trac/browser/jhbuild/python</a></p>
<p>从该签出运行make将构建python 2.3-2.7并创建脚本以进入其环境:</p>
<pre><code>[thomas@level ~]$ py-2.4
Entering interactive py shell /bin/bash
[py-2.4] [thomas@level ~]$ python
Python 2.4.5 (#1, Dec 16 2010, 18:51:06)
[GCC 4.4.4 20100630 (Red Hat 4.4.4-10)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
</code></pre>