pythonbrew is a program to automate the building and installation of python in the users HOME. Pythonbrew is inspired by perlbrew, that we have just commented in a previous post.
The installation is very simple, actually, is like perlbrew.
| $ curl -kLO http://github.com/utahta/pythonbrew/raw/master/pythonbrew-install $ chmod +x pythonbrew-install $./pythonbrew-install |
This installation is in $HOME by default. If you want to install in other directory, we will need to set PYTHONBREW_ROOT variable.
Now, we can install any python version. For instance:
| $ pythonbrew install 3.2 $ pythonbrew use 3.2 |
Some useful commands:
- pythonbrew use : Switch a particular version in a current session.
- pythonbrew switch: change system python version.
- pythonbrew update: It updates pythonbrew version
- pythonbrew list: It shows a list with all python installed.
References

0 comentarios:
Publicar un comentario en la entrada