This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:examples:setup:eclipse:install:linux [2012/05/29 15:48] – raivo.sell | en:examples:setup:eclipse:install:linux [2020/07/20 12:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Installing Eclipse for Linux ====== | ||
| + | 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. | ||
| + | ===== Software automatic installation ===== | ||
| + | |||
| + | **1. Software source setup** | ||
| + | |||
| + | For source setup HomeLab-keyring software package must be downloaded and installed. | ||
| + | Download it from webpage: | ||
| + | [[http:// | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | If you select the correct option the manager will open (Ubuntu 10.04 example). | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | Ubuntu 10.10 and newer " | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | Press " | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | 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: // | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | 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: | ||
| + | |||
| + | * HomelabSetup - HomeLab configuration program | ||
| + | * Eclipse-CDT - development environment | ||
| + | * gcc-avr – GNU C-language compiler for AVR platform | ||
| + | * avrdude – program for loading HEX to microcontroller | ||
| + | * avr-libc – C-language libraries for code writing into AVR platform | ||
| + | * libhomelab - HomeLab library | ||
| + | * hlflash - HomeLab flashing program | ||
| + | * hlflash-gui - HomeLab flashing GUI | ||
| + | * hlinit - HomeLab initialization program | ||
| + | |||
| + | Terminal will close after installation of these software packages. | ||
| + | Robotic HomeLab software is now successfully installed! | ||
| + | |||
| + | ===== Software manual installation ===== | ||
| + | |||
| + | 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:// | ||
| + | </ | ||
| + | |||
| + | **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: {{: | ||
| + | |||
| + | Extract archive using user interface or terminal. | ||
| + | |||
| + | Corresponding command in terminal: | ||
| + | < | ||
| + | |||
| + | Then add this key into Ubuntu package manager. When in folder that contains homelab-keyring.gpg type: | ||
| + | < | ||
| + | |||
| + | **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: | ||
| + | * eclipse | ||
| + | * eclipse-cdt | ||
| + | * urjtag-homelab | ||
| + | * hlflash | ||
| + | * hlinit | ||
| + | * hlflash-gui | ||
| + | * libhomelab | ||
| + | * avrdude-homelab | ||
| + | * eclipse-avr | ||
| + | |||
| + | |||
| + | 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. | ||