PDA

View Full Version : Setting default application versions/bindings in bash.



ltHank
October 28th, 2009, 09:45 PM
When I use my Mac, I can launch the version of Python that I have loaded on it simply by typing "python". After installing a newer version, I had to run a script that was included to maintain this functionality.

How do I set up Ubuntu to do the same? I'd like to just type "python" and get the python interpreter.

More generally, how do I do this sort of thing for applications in general? I'm more than willing to spend some time mucking around my computer.

Any help is appreciated!

aGor
October 28th, 2009, 10:27 PM
last time I used ubuntu I could just type python and then I got to the python interpreter.

Maybe you have to install the build-essential package?
sudo apt-get install build-essential