Skip to content

Commit 77c5adf

Browse files
committedAug 21, 2023
INSTALL.md add link to build dependencies to debian packaging section
1 parent 702167b commit 77c5adf

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed
 

‎INSTALL.md

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ those formats in GDAL.
135135

136136
**Requires:** Ubuntu / Debian derived distro
137137

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.
141141

142142
These notes are for Ubuntu - other versions and Debian derived distros may
143143
require slight variations in package names.
@@ -405,17 +405,11 @@ Instead of creating a personal installation as in the previous step you can
405405
also create debian package. This is done from the QGIS root directory, where
406406
you'll find a debian directory.
407407

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:
409410

410411
```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"
419413
```
420414

421415
The QGIS packages will be created with:
@@ -426,9 +420,6 @@ dpkg-buildpackage -us -uc -b
426420

427421
**Note:** Install `devscripts` to get `dch`.
428422

429-
**Note:** If `dpkg-buildpackage` complains about unmet build dependencies
430-
you can install them using `apt-get` and re-run the command.
431-
432423
**Note:** If you have `libqgis1-dev` installed, you need to remove it first
433424
using `dpkg -r libqgis1-dev`. Otherwise `dpkg-buildpackage` will complain about a
434425
build conflict.

0 commit comments

Comments
 (0)
Please sign in to comment.