Recently, I purchased an eeePC because they were on sale and I wanted a small netbook that I could use as my primary solving computer for Cryptograms. I’m new to Linux so starting out was a little rough. I really wanted to get Python 2.6 running so that I could use the latest features of the language (Native SQLite support). Below are the steps I took to get everything working the way I wanted it to.
Download the latest ActivePython Installation file to your /home/user directory.
Open a Terminal by pressing Ctrl + Alt + t. In the Terminal type the following commands (Taken from the ActivePython Installation Notes):
tar xzf ActivePython-version.tar.gz cd ActivePython-version ./install.sh
When prompted for the directory that you want to install ActivePython into, type:
ActivePython is now installed but it is not the default python that would execute when you type python in a console. In the Terminal, type:
Add the following line as the very last line of the file and then save:
Close the Terminal and restart it. If you type “which python” you should see /home/user/bin/ActivePython-2.6. You can now run Python as normal. If you just want to use Python then you are done. I like to install the easy_install package and IPython (A python interactive console on steroids. You can do so much extra stuff with it. See http://ipython.scipy.org/ for more information.)
In the Terminal window type the following:
wget http://peak.telecommunity.com/dist/ez_setup.py python ez_setup.py
wget downloads the ez_setup.py file to your hard drive. Then we run the ez_setup.py program to install easy_install.
We can now install IPython very easily by typing the following in the Terminal:
That is it! Python and ipython are installed. You can now type “python” or “ipython” to start the interactive interpreters.
Disclaimer: I am new to linux and I know there are proably tons of better ways to do the previous steps more efficiently (ie: using nano instead of kwrite, etc.) but this was the quickest and easiest way to explain to a new linux user like myself.