Installing GIS applications

From IOSN-InWent FOSS GIS & Sahana Training

Jump to: navigation, search

Contents

Installing GIS Applications

Change the Source List

By default Ubuntu Linux installing applications from the internet from an official server called Ubuntu repositories server. The process is can be described like this:

  • We're installing application X
  • Ubuntu checking the availability of the X on repositories server
  • Ubuntu is downloading the X application (binary format, the *.deb files) with all of it's dependencies
  • Application X installed on our Ubuntu system

In this training, to save our local bandwidth we'll use local repositories server (http://192.168.100.114).

Here are the steps:

  • Access menu: System > Adminstration > Synaptic Package Manager
  • Access menu: Settings > Repositories
  • Remove all available repositories to none

Image:Screenshot-Software Sources-1.png

  • By using Add button add this repositories
deb http://192.168.100.114/ubuntu/ubuntu/gutsy gutsy main restricted universe multiverse

Image:Screenshot-Software Sources.png
Then click Close button.

  • Click Reload button on the navigation bar
  • Now our system will always using local server for installations.

Change the Source List (2)

There were another way by using command line:

$> sudo gedit /etc/apt/sources.list
  • Delete all the lines on that file (you can backup the /etc/apt/sources.list first)
  • Add
deb http://192.168.100.114/ubuntu/ubuntu/gutsy gutsy main restricted universe multiverse
  • Saves the file
$> sudo apt-get update
  • Now our system will always using local server for installations.

Install The Apps

  • Using search feature we can find our application package (try to search "qgis").
  • Check the checkbox on the leftside of the application name, select "Mark for Installation"

Image:Qgis.png

  • Click "Apply"

Install The Apps (2)

There were another way by using command line:

$> sudo apt-get install qgis qgis-plugin-grass grass gdal-bin postgresql postgis postgresql-8.2-postgis pgadmin3 mapserver-bin

Installing GoogleEarth in Ubuntu

$> chmod +x GoogleEarthLinux.bin
  • Run the installer as root
$> sudo ./GoogleEarthLinux.bin
  • Sets it's directory etc.
  • Run the Googleearth via console
$> googleearth

On to Step 2: QGIS Introduction