Here are the quick an easy steps on how to install TOS in Linux (Debian Distro).
First you will need to setup Java on your computer so lets go ahead and do that. Open up the console and login as super user.
su
Now that we have full privileges, lets edit the sources.list file so that we can fetch the much needed java packages.
pico /etc/apt/sources.list
This will bring up your sources.list file in the editor. You should see something that looks like this:
deb http://debian.lcs.mit.edu/debian etch main
deb-src http://debian.lcs.mit.edu/debian etch main
Add the words “contrib non-free” at the end of both lines so it looks like the following:
deb http://debian.lcs.mit.edu/debian etch main contrib non-free
deb-src http://debian.lcs.mit.edu/debian etch main contrib non-free
Now hit “Ctrl + O” to write the changes to the file. Then hit enter to accept the changes. Now hit “Ctrl + X” to exit the editor. That was the hard part
. Lets update our package listing and download the java packages by running the following commands:
apt-get update
apt-get install sun-java5-jre sun-java5-jdk
Follow the onscreeen instructions to complete the installation of the java packages. Its pretty much gonna ask you to agree to the licenses. After you are done you can close the console window.