mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
added debian package section
git-svn-id: http://svn.osgeo.org/qgis/trunk@9615 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
4497249cf8
commit
22fb9bb1c1
@ -912,6 +912,8 @@ Error validating server certificate for 'https://svn.qgis.org:443':
|
||||
|
||||
== Starting the compile ==
|
||||
|
||||
/!\ ***Note:*** The next section describes howto build debian packages
|
||||
|
||||
I compile my development version of QGIS into my ~/apps directory to avoid
|
||||
conflicts with Ubuntu packages that may be under /usr. This way for example
|
||||
you can use the binary packages of QGIS on your system along side with your
|
||||
@ -950,6 +952,43 @@ make install
|
||||
|
||||
It may take a little while to build depending on your platform.
|
||||
|
||||
== Building Debian packages ==
|
||||
|
||||
Instead of creating a personal installation as in the previous step you can
|
||||
also create debian package. This is done from the qgis root directory, where
|
||||
you'll find a debian directory.
|
||||
|
||||
First you need to install the debian packaging tools once:
|
||||
|
||||
```
|
||||
apt-get install build-essential
|
||||
```
|
||||
|
||||
The QGIS packages will be created with:
|
||||
|
||||
```
|
||||
dpkg-buildpackage -us -us -b
|
||||
```
|
||||
|
||||
/!\ ***Note:*** If ``dpkg-buildpackage`` complains about unmet build dependencies
|
||||
you can install them using ``apt-get`` and re-run the command.
|
||||
|
||||
/!\ ***Note:*** If you have ``libqgis1-dev`` installed, you need to remove it first
|
||||
using ``dpkg -r libqgis1-dev``. Otherwise ``dpkg-buildpackage`` will complain about at
|
||||
build conflict.
|
||||
|
||||
The the packages are created in the parent directory (ie. one level up).
|
||||
Install them using dpkg. E.g.:
|
||||
|
||||
```
|
||||
sudo dpkg -i \
|
||||
../qgis_1.0preview16_amd64.deb \
|
||||
../libqgis-gui1_1.0preview16_amd64.deb \
|
||||
../libqgis-core1_1.0preview16_amd64.deb \
|
||||
../qgis-plugin-grass_1.0preview16_amd64.deb \
|
||||
../python-qgis_1.0preview16_amd64.deb
|
||||
```
|
||||
|
||||
== Running QGIS ==
|
||||
|
||||
Now you can try to run QGIS:
|
||||
@ -1989,14 +2028,14 @@ The following people have contributed to this document:
|
||||
- MSVC install additions Tim Sutton 2007
|
||||
- PostgreSQL, Qt compile, SIP, Python, AutoExp additions Juergen Fischer 2007
|
||||
|
||||
|
||||
- Windows MSVC Section (Simplified install)
|
||||
- Tim Sutton 2007
|
||||
- Juergen Fischer 2007
|
||||
|
||||
- OSX Section
|
||||
- Tim Sutton, 2007
|
||||
- Tim Sutton 2007
|
||||
- With special thanks to Tom Elwertowski and William Kyngesburye
|
||||
|
||||
- GNU/Linux Section
|
||||
- Tim Sutton 2006
|
||||
- Debian package section: Juergen Fischer 2008
|
||||
|
Loading…
x
Reference in New Issue
Block a user