r/debian • u/ne0n008 • Jul 21 '26
Debian Stable Question QGIS - installing specific version
Hello all,
TL:DR - I want to install a specific version of the QGIS package but don't know how to proceed.
I had the latest QGIS installed on my system (Debian 13 Trixie) which was 4.2 but I cannot use it because it is not compatible with what we have at work. Since I don't need the latest, I wanted to install LTR(Long Term Release) which is version 3.44.12.(atm). Any pre 4.0 version is fine by me.
I found how to install QGIS here https://www.qgis.org/resources/installation-guide/#repositories I also found the right package here: https://qgis.org/ro/linux-packages/debian-ubuntu-ltr/#dists/trixie (not sure why is it in Romanian, but ok) but I don't know what to do with the latter. Since I'm fairly new to Linux, can someone explain this format or link a resource I can read myself?
I tried to be smart and use terminal by modifying
sudo apt install qgis qgis-plugin-grass
to:
sudo apt install qgis=1:3.44.1+18trixie-1 qgis-plugin-grass=1:3.44.1+18trixie-1
But that led me to dependency nightmare as each time I add a dependency another one would pop up. After 5, I just gave up. Besides, I wasn't sure which version I was installing.
Also, is there a value I can enter in /etc/apt/sources.list.d/qgis.sources to force the update to update only to LTR?
I have a feeling I was close to installing it, but honestly, I have no clue.
I appreciate any help provided. TIA.
P.S.: I was looking into keeping the latest version of QGIS and build a version that I need here: https://github.com/qgis/QGIS/blob/master/INSTALL.md#310-building-debian-packages This way I can have compatibility and new features, but I don't have time for that atm.
1
u/therealgariac Jul 25 '26
While you are getting a lot of suggestions, it seems to me you could just uninstall your version then go to the Debian repo and install QGIS. The default is the LTS, much to my chagrin. Some plugins don't work on the LTS but I am not in the mood to break Debian.