This is an old revision of the document!
This section describes how to install and use AVR development environment in Linux Ubuntu 10.04, 11.04, 11.10 and 12.04 operation systems. For installation of software repository of Robotic HomeLab is used.
1. Software source setup
For source setup HomeLab-keyring sofware package must be downloaded and installed. Click for download: homelab-keyring. At next Internet browser will open a window, where opening package installation with automatic installation manager can be selected.
If you selected the correct option, the manager will open (Ubuntu 10.04 example).
Ubuntu 10.10 and newer open the “Ubuntu Software Center”
Press “Install package” for installation and input your password.
If the installation has finished, close the manager.
As a conclusion you have successfully installed Robotic Homelab software source.
2. HomeLab software installation
To install HomeLab software, choose from menu: Rakendused → Programmeerimine → Install Homelab
Input your password when asked.
If the password was correct, terminal window will open and software setup will begin. If not, then setup will not start. Setup can be started later from menu.
Software installation might take time from few minutes to a quarter of hour, depending on your Internet connection and computer speed. As a result, the following software packages will be installed:
Terminal will close after installation of these software packages. HomeLab software is now successfully installed!
In case automatic installaton fails at some reasons, required software packages can also be installed manually.
1. At first add HomeLab repository throug terminal into Ubuntu package manager.
The following line can be copied into terminal to do this:
sudo add-apt-repository http://roboticlab.eu/repo/ubuntu/
2. GnuPGP key installation Because of all HomeLab software packages contain GnuPGP key for validation, you also need to install corresponding public key into your computer.
Download key: homelab-keyring.gpg.zip
Extract archive using user interface or terminal.
Corresponding command in terminal:
unzip homelab-keyring.gpg.zip
Then add this key into Ubuntu package manager when you are in folder that contains homelab-keyring.gpg:
sudo apt-key add homelab-keyring.gpg
3. Download all software updates.
Use the following line for update :
sudo apt-get update
After downloading updates the following software packages are required to be installed:
Copy this line into terminal for installation:
sudo apt-get install eclipse eclipse-cdt urjtag-homelab hlflash hlinit hlflash-gui libhomelab avrdude-homelab eclipse-avr
After completing installation of those software packages, HomeLab is now successfully installed!
To create new project and configure floating-point variables, look at the instructions for Eclipse.