-
-
Notifications
You must be signed in to change notification settings - Fork 280
Additions for Fedora, Opensuse and general Linux #1196
base: master
Are you sure you want to change the base?
Conversation
I started by adding up-to-date version infos for Fedora. Then I added the instructions for Toolbox and Distrobox, toolbox being standard on Fedora Atomic, Distrobox on Opensuse microOS but also working on Fedora Atomic. These tools create containers of a Distro, so the QGis packages can be isolated from the host system. GUI app entries are included in the explanations. --- Then I added an instruction to add missing python dependencies using pip, under the main Linux chapter. I also added a tutorial how to enforce XWayland, as Wayland shows a warning of missing features. This is opt-in but automated.
Question: This version number tables add unnecessary maintenance work. Just linking to a site having the version numbers would seem to make more sense. Oh and I also added two ways to remove the Fedora COPR, as its deprecated and could cause conflicts |
Co-authored-by: Andrea Giudiceandrea <[email protected]>
Co-authored-by: Andrea Giudiceandrea <[email protected]>
Co-authored-by: Andrea Giudiceandrea <[email protected]>
Co-authored-by: Andrea Giudiceandrea <[email protected]>
Co-authored-by: Harrissou Sant-anna <[email protected]>
Issue about the Wayland warning |
Co-authored-by: Andrea Giudiceandrea <[email protected]>
Hello, whilst tackling https://github.com/qgis/QGIS-Website/issues/1224 I noticed the proposed changes in the documentation concerning Python package installation instructions. Because I recently had to tackle Python package installations on OpenSuse, I learned about PEP668 and the implications on installing packages via pip. Hence I allowed myself to propose the following PR to describe Python module installation on Linux Systems: https://github.com/qgis/QGIS-Website/pull/1225 In short, PEP668 lets Linux system distributions forbid to install Python packages system wide via pip in order to maintain system integrity. It is encouraged instead to install Python packages in a virtual environment, which can be done via pipx, which should be widely available in the distribution's repository. |
I am on Fedora Atomic and pip falls back to user installation automatically. Also cleaned up my additions a lot, should be way better now. Would be nice to have it merged or resolved soon. |
removed duplicate lines, unneeded details, shortened commands, changed some names to be more clear. Also removed hardcoded version numbers from Toolbox+Distrobox, reducing maintenance (and its unnecessary). This should be way more user friendly now.
removed duplicate lines, unneeded details, shortened commands, changed some names to be more clear. Also removed hardcoded version numbers from Toolbox+Distrobox, reducing maintenance (and its unnecessary). This should be way more user friendly now.
probably cosmetic, seemed unconventional for me
No, unfortunately,
I tried OpenSuse Tumbleweed and Ubuntu 23.04. - on all of them You can still circumvent using |
hmm,would you mind adding the best simple solution, using a venv called "qgis" for example? Didnt know this was only working on Fedora |
Sure, I already made a PR https://github.com/qgis/QGIS-Website/pull/1225 for that, that got already accepted 🙂 I am a noob when it comes to venv, I always avoided them as unnecessary complication - that bites me in the back now 😁 I can only quote the message that comes up when I try to install a package via pip ... this basically just repeats the steps in my PR - just leaving out the
Theoretically, practically you just need to create a working directory for your project and
which seems quite a hassle to me. |
okay, @frankbroniewski didnt know how to rebase on your version and reapply my diffs, so I just copy-pasted your python instructions into my branch. Should be ready to merge now. |
Hey, no worries, I struggle all the time with git when manual merging is required or something else out of the ordinary 😁 |
I started by adding up-to-date version infos for Fedora. Then I added the instructions for Toolbox and Distrobox, toolbox being standard on Fedora Atomic, Distrobox on Opensuse microOS but also working on Fedora Atomic.
These tools create containers of a Distro, so the QGis packages can be isolated from the host system.
GUI app entries are included in the explanations.
Then I added an instruction to add missing python dependencies using pip, under the main Linux chapter.
I also added a tutorial how to enforce XWayland, as Wayland shows a warning of missing features. This is opt-in but automated.