wiki:UbuntuGISRepository

Version 6 (modified by aboudreault, 14 years ago) ( diff )

Added convenient method to add the PPA

Adding Ubuntu GIS repository to your system's software sources

To use Ubuntu GIS packages, you need to add the repository to your system's software sources.

Verify that your ubuntu distribution is supported by the Ubuntu GIS project: List of the supported distributions

Add the sources.list entries

Ubuntu GIS has two different PPA:

Convenient Method

Ubuntu 9.10, Karmic Koala, introduces a convenient new command for adding Launchpad PPA (Personal Package Archive) repositories via the command line: add-apt-repository.

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable

or for stable PPA:
sudo add-apt-repository ppa:ubuntugis/ppa

That's it!

Manual Method

See the "Technical details about this PPA" section of one of the pages above to know the entries to add.

  1. Open the file /etc/apt/sources.list with a text editor and append the entries to the file.
  1. Authenticate the repository. Open your terminal and enter:
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 314DF160 
    

314DF160 is the OpenPGP key of the Ubuntu GIS repository

If you prefer adding the entries using the GUI, see this page: https://launchpad.net/+help/soyuz/ppa-sources-list.html

  1. Update your system's package list:
    sudo apt-get update
    
Note: See TracWiki for help on using the wiki.