Using Pythonbrew
The code is as follows:
Easy_install Pythonbrew
[Root@li637-23 schirm]# Pythonbrew_install
well-done! congratulations!
The Pythonbrew is installed as:
/root/.pythonbrew
Add the following line to the end of your ~/.BASHRC
[-S "$HOME/.PYTHONBREW/ETC/BASHRC"]] && source "$HOME/.PYTHONBREW/ETC/BASHRC"
After then, exit this shell, start a new one, and install some fresh
Pythons:
Pythonbrew Install 2.7.2
Pythonbrew Install 3.2
For further instructions, run:
Pythonbrew Help
The default help messages would popup and tell you about do!
Enjoy Pythonbrew at/root/.pythonbrew!!
[Root@li637-23 schirm]# Vim/root/.pythonbrew
[Root@li637-23 schirm]#. ~/.bashrc
[root@li637-23 schirm]# pythonbrew Install 2.7.2
Downloading python-2.7.2.tgz as/root/.pythonbrew/dists/python-2.7.2.tgz
######################################################################## 100%
Extracting Python-2.7.2.tgz into/root/.pythonbrew/build/python-2.7.2
This could take a while. You can run the following command on another shell-to-track the status:
Tail-f "/root/.pythonbrew/log/build.log"
Installing Python-2.7.2 into/root/.pythonbrew/pythons/python-2.7.2
How about small partners, is not very simple, have the same needs of the small partners themselves to refer to it