@@ -135,9 +135,9 @@ those formats in GDAL.
135
135
136
136
** Requires:** Ubuntu / Debian derived distro
137
137
138
- ** Note:** Refer to the section Building Debian packages for building
139
- debian packages. Unless you plan to develop on QGIS, that is probably the
140
- easiest option to compile and install QGIS.
138
+ ** Note:** Refer to the section [ Building Debian packages] ( #310- building-debian-packages )
139
+ for building debian packages. Unless you plan to develop on QGIS, that is
140
+ probably the easiest option to compile and install QGIS.
141
141
142
142
These notes are for Ubuntu - other versions and Debian derived distros may
143
143
require slight variations in package names.
@@ -405,17 +405,11 @@ Instead of creating a personal installation as in the previous step you can
405
405
also create debian package. This is done from the QGIS root directory, where
406
406
you'll find a debian directory.
407
407
408
- First you need to install the debian packaging tools once:
408
+ First you need to install the [ build dependencies] ( #33-install-build-dependencies )
409
+ and setup a changelog entry for your distribution. For example for Debian Bookworm:
409
410
410
411
``` bash
411
- apt-get install build-essential
412
- ```
413
-
414
- First you need to create an changelog entry for your distribution. For example
415
- for Ubuntu Precise:
416
-
417
- ``` bash
418
- dch -l ~ precise --force-distribution --distribution precise " precise build"
412
+ dch -l ~ bookworm --force-distribution --distribution bookworm " bookworm build"
419
413
```
420
414
421
415
The QGIS packages will be created with:
@@ -426,9 +420,6 @@ dpkg-buildpackage -us -uc -b
426
420
427
421
** Note:** Install ` devscripts ` to get ` dch ` .
428
422
429
- ** Note:** If ` dpkg-buildpackage ` complains about unmet build dependencies
430
- you can install them using ` apt-get ` and re-run the command.
431
-
432
423
** Note:** If you have ` libqgis1-dev ` installed, you need to remove it first
433
424
using ` dpkg -r libqgis1-dev ` . Otherwise ` dpkg-buildpackage ` will complain about a
434
425
build conflict.
0 commit comments