Version 6 (modified by 15 years ago) ( diff ) | ,
---|
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:
- Stable: updated every six months, contains a stable state of the unstable ppa ( https://launchpad.net/~ubuntugis/+archive/ppa )
- Unstable: updated frequently, contains the up-to-date packages. This ppa may broke something. ( https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable )
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.
- Open the file /etc/apt/sources.list with a text editor and append the entries to the file.
- 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
- Update your system's package list:
sudo apt-get update