This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:examples:setup:linuxrepo [2012/05/29 07:37] – eero.valjaots | en:examples:setup:linuxrepo [2020/07/20 09:00] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| 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. | 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. | ||
| - | ===== Software | + | ===== Software installation ===== |
| **1. Software source setup** | **1. Software source setup** | ||
| Line 30: | Line 30: | ||
| As a conclusion you have successfully installed Robotic Homelab software source. | As a conclusion you have successfully installed Robotic Homelab software source. | ||
| - | **2. HomeLab software installation** | + | **2. Kodulabori tarkvara paigaldamine** |
| - | To install HomeLab software, choose from menu: // | + | Kodulabori tarkvara paigaldamiseks valige menüüst |
| {{ : | {{ : | ||
| - | Input your password when asked. | + | Järgmiseks sisestage oma parool. |
| {{ : | {{ : | ||
| - | 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. | + | Kui sisestasite parooli õigesti, avaneb terminali aken ja algab tarkvara paigaldamine, vale parooli korral paigaldamist ei alustata. Võite hiljem menüüst paigaldamise uuesti valida. |
| {{ : | {{ : | ||
| - | Software installation might take time from few minutes to a quarter of hour, depending on your internet connection and computer speed. | + | Tarkvara paigaldamine võib aega võtta paarist minutist veerandtunnini, sõltuvalt teie interneti ühenduse ja arvuti kiirusest. |
| - | As a result, the following software packages will be installed: | + | Installi käigus paigaldatakse teie arvutisse järgmised tarkvarapakid: |
| - | * gcc-avr – GNU C-language compiler for AVR platform | + | * gcc-avr – GNU C-keele kompilaator |
| - | * avrdude – program for loading HEX to microcontroller | + | * avrdude – programm hex-faili laadimiseks mikrokontrollerisse |
| - | * avr-libc – C-language libraries for code writing into AVR platform | + | * avr-libc – C-keele teegid koodi kirjutamiseks |
| - | * libhomelab - HomeLab library | + | * libhomelab - Kodulabori teek |
| - | * HomelabSetup - HomeLab configuration program | + | * HomelabSetup - Kodulabori seadistamise programm |
| - | * Eclipse-CDT - development environment | + | * Eclipse-CDT - Arenduskeskond |
| - | Terminal will close after installation of these software packages. | + | Peale eelpool mainitud tarkvarapakkide paigaldamist, |
| - | HomeLab software is now successfully installed! | + | Kodulabori tarkvara on nüüd paigaldatud |
| - | ===== Software manual installation | + | ===== Tarkvara käsitsi paigaldamine |
| - | In case automatic installaton fails at some reasons, required software packages can also be installed manually. | + | Kui tarkvara automaatne installeerimine millegipärast ei õnnestu, saab vajalikud tarkvarapaketid paigaldada ka käsitsi. |
| - | | + | |
| - | The following line can be copied into terminal to do this: | + | Selleks kopeerida terminali alljärgnev rida |
| < | < | ||
| sudo add-apt-repository http:// | sudo add-apt-repository http:// | ||
| </ | </ | ||
| - | **2. GnuPGP | + | **2. GnuPGP |
| - | Because of all HomeLab software packages contain | + | Kuna kõik Kodulabori tarkvarapakettidel on valideerimiseks |
| - | Download key: {{: | + | Laadida alla võti: {{: |
| - | Extract archive using user interface or terminal. | + | Seejärel pakkida arhiiv lahti kas kasutades kasutajaliidest või terminalis. |
| - | Corresponding command in terminal: | + | Vastav käsk terminalis |
| < | < | ||
| - | Then add this key into Ubuntu | + | Järgnevalt lisada võti Ubuntu |
| < | < | ||
| - | | + | |
| - | For update use the following line: | + | Selleks kopeerida terminali alljärgnev rida |
| < | < | ||
| sudo apt-get update | sudo apt-get update | ||
| </ | </ | ||
| - | After downloading updates the following software packages are required to be installed: | + | Peale tarkvarauuenduste allalaadimist tuleb paigaldada järgnevad tarkvarapaketid: |
| * eclipse | * eclipse | ||
| * eclipse-cdt | * eclipse-cdt | ||
| Line 98: | Line 99: | ||
| * eclipse-avr | * eclipse-avr | ||
| - | Copy this line into terminal for installation: | + | Paigaldamiseks kopeerida terminali vastav rida |
| < | < | ||
| sudo apt-get install eclipse eclipse-cdt urjtag-homelab hlflash hlinit hlflash-gui | sudo apt-get install eclipse eclipse-cdt urjtag-homelab hlflash hlinit hlflash-gui | ||
| Line 104: | Line 105: | ||
| </ | </ | ||
| - | After completing installation of those software packages, HomeLab is now successfully installed! | + | Pärast nende pakettide paigaldamist on Kodulabori tarkvara paigaldatud! |
| - | To create new project and configure floating-point variables, look at the instructions for Eclipse. | + | Uue projekti loomist ja ujukoma arvutuste seadistamise vaata Eclipse |