# Installation on Ubuntu

Bellow installation procedure uses only command line approach, because this is the simpler way to follow instructions just by copy-pasting the commands in terminal. Instructions tested on Ubuntu 12.04, 11.10 and 11.04.

1. Add Skychart repository:

       sudo apt-add-repository 'deb http://www.ap-i.net/apt stable main'

   Note: If you would like to install development version of Skychart instead of stable version, then replace word “stable” with “unstable” in above and bellow command.

2. Above command also adds source code repository 'deb-src http://www.ap-i.net/apt stable main' which should not be added in order the program to work at all, so removing source code repository:

       sudo apt-add-repository --remove 'deb-src http://www.ap-i.net/apt stable main'

3. Request public key:

       gpg --keyserver keyserver.ubuntu.com --recv C56CCB02D79BF92A

4. Add public key:

       gpg --export --armor C56CCB02D79BF92A | sudo apt-key add -

5. Update repository:

       sudo apt-get update

6. Install Skychart without full dependencies (does not install the packages required for the Artificial Satellites display, you can install them later):

       sudo apt-get install --no-install-recommends skychart

7. This is all software you need to install if sky will be observed with naked eye. But if you like to see some deep-sky objects (e.g. galaxies) and stars that are not seen with naked eye then install additional packages (this will download several MB of additional software):

       sudo apt-get install skychart-data-stars skychart-data-dso skychart-data-pictures

8. Launch Skychart from terminal:

       skychart

   You will also find the Skychart button in the main menu, using “Science & Engineering” filter.
   Note: If installed following above instructions, 'skychart' command is actually a script that disables some Ubuntu Unity features (only for Skychart program) to make it possible Skychart to work correctly (LIBOVERLAY_SCROLLBAR=0 and UBUNTU_MENUPROXY=0).

9. The program starts up, it takes several seconds to initialize, click Next button.
10. Observatory window opens. You need to tell the program from which location you will be observing the sky. You can select your observation place by clicking on Observatory database and select the city you are observing from. If the city is not included on the observatory database list you can download more details for your country, or you can manually enter Latitude, Longitude and Altitude information from the main Observation window. Search this information from e.g. web page: http://www.findlatitudeandlongitude.com/
11. That is it. Program starts. Try to click one of the buttons on the right sight N (North), S (South), E (East) or W (West) to get sky image on screen like it is in the nature. See the quick start guide for more information about the different use of the program.