The steps are quite simple and are explained as follows:
1) Make sure that you are connected to the internet.
2) Open the source.list file in root mode using:
3) Add the following text:
You can replace the lucid with hardy/gutsy depending on the Ubuntu version, lucid is for 10.4 Ubuntu LTS) you are using. You are doing this to make sure that your package installer finds the packages urls, etc(software sources).
4) Open a Terminal and type the following command:
You are doing this to update the package information (deb package) on your system.
5) Now we install TinyOS by executing the following command:
It will prompt you to install JRE (if not installed), go ahead and install it by following the instructions on the screen.
6) Open the .bashrc file in your home directory and add the source tinyos.sh script to the file at the end. You can also do this by giving following command:
7) Now close the Terminal and open a new one. You will a message in the terminal saying: This means that tinyOS has been successfully installed on your system.