This section describes how to install and use AVR development environment in Linux Ubuntu operation systems. For installation software repository of Robotic HomeLab is used.
1. Software source setup
For source setup HomeLab-keyring software package must be downloaded and installed. Download it from webpage: homelab-keyring. Next, Internet browser will open a window where opening package installation with automatic installation manager can be selected.
If you select the correct option the manager will open (Ubuntu 10.04 example).
Ubuntu 10.10 and newer “Ubuntu Software Center” will popup.
Press “Install package” for installation and enter root password.
If the installation has finished close the manager.
As a conclusion you have successfully installed Robotic Homelab software source.
2. Robotic HomeLab software installation
To install Robotic HomeLab software in Gnome choose from menu: Applications → Programming → Install Homelab
In case of Unity start typing: homelab in Dash
Enter root password when asked.
If the password is correct terminal window will open and software installation will begin. If not installation will not start. Setup can be started later again if first attempt was unsuccessful.
Software installation might take some 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. Robotic HomeLab software is now successfully installed!
In case automatic installation fails at some reasons required software packages can be also installed manually.
1. At first add Robotic HomeLab repository through 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 Robotic HomeLab software packages contain GnuPGP key for validation you also need to install corresponding public key into your computer.
Download key from webpage: 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 in folder that contains homelab-keyring.gpg type:
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 Robotic HomeLab is successfully installed!
To create new project and configure floating-point variables look at the instructions for Eclipse setup.