Remove reference to abandoned PPA (previously at https://launchpad.net/~mapnik)

Dane Springmeyer 2018-08-10 10:26:37 -07:00
parent 0ec4fb3208
commit ab11246d20

@ -9,11 +9,7 @@ sudo apt-get upgrade
For older versions, see the archived notes at [[UbuntuInstallationOld]]
If you are intending to install [Tilemill](http://mapbox.com/tilemill/) from a package/ppa, do not follow the directions below in order to avoid package conflicts. Instead, directly proceed to [install Tilemill](http://mapbox.com/tilemill/docs/linux-install/). Mapnik will automatically be installed with your Tilemill installation because it is available in the [TileMill PPA](https://launchpad.net/~developmentseed/+archive/mapbox/).
# Ubuntu (16.04)
Install Mapnik latest (3.x series)
## Install Mapnik from source
```
# you might have to update your outdated clang
@ -23,8 +19,8 @@ sudo apt-get install -y gcc-6 g++-6 clang-3.8
export CXX="clang++-3.8" && export CC="clang-3.8"
# install mapnik
git clone https://github.com/mapnik/mapnik mapnik-3.x --depth 10
cd mapnik-3.x
git clone https://github.com/mapnik/mapnik mapnik --depth 10
cd mapnik
git submodule update --init
sudo apt-get install python zlib1g-dev clang make pkg-config curl
source bootstrap.sh
@ -35,64 +31,11 @@ sudo make install
```
NOTE: there used to be a community PPA maintained for Mapnik apt packages (https://launchpad.net/~mapnik/+archive), but it is no longer maintained or in use.
----
# Ubuntu >= (11.10) and < (14.04)
## Install from packages
First, ensure `add-apt-repository` is installed:
```sh
sudo apt-get install -y python-software-properties
```
**Mapnik v2.2.0**
This is the latest in the 2.2.x series.
```sh
sudo add-apt-repository ppa:mapnik/v2.2.0
sudo apt-get update
sudo apt-get install libmapnik libmapnik-dev mapnik-utils python-mapnik
```
These packages come from: https://launchpad.net/~mapnik/+archive/v2.2.0/+packages
**Mapnik v2.3.x**
This is the nightly build of the upcoming 2.3.0 release
```sh
sudo add-apt-repository ppa:mapnik/nightly-2.3
sudo apt-get update
sudo apt-get install libmapnik libmapnik-dev mapnik-utils python-mapnik
# also install datasource plugins if you need them
sudo apt-get install mapnik-input-plugin-gdal mapnik-input-plugin-ogr\
mapnik-input-plugin-postgis \
mapnik-input-plugin-sqlite \
mapnik-input-plugin-osm
```
These packages come from: https://launchpad.net/~mapnik/+archive/nightly-2.3/+packages
**For nightly builds from master (3.0.0-pre)**
This is the latest development code - built nightly - directly from https://github.com/mapnik/mapnik/commits/master
```sh
sudo add-apt-repository ppa:mapnik/nightly-trunk
sudo apt-get update
sudo apt-get install libmapnik libmapnik-dev mapnik-utils python-mapnik
sudo apt-get install mapnik-input-plugin-gdal mapnik-input-plugin-ogr\
mapnik-input-plugin-postgis \
mapnik-input-plugin-sqlite \
mapnik-input-plugin-osm
```
These packages come from: https://launchpad.net/~mapnik/+archive/nightly-trunk/+packages
## Install Mapnik from source
## Detailed/historical notes
First, remove any other old mapnik packages: