Running 2 versions of QGIS on Ubuntu Linux

May 2, 2018 | Python, QGIS

It’s a story that’s way longer than anyone will want to read. I’ve a client that I’m doing a database conversion project. We’ve moving out of a commercial vendor and to Postgis/PostgreSQL/QGIS. Weird thing is I’m running linux on everything. Usually it’s not a problem….BUT – they are on QGIS 2.18 and I’m running QGIS 3.0. I’m making lyr files and trouble shooting and some days I want to work on my own equipment and not their workstation. I could just uninstall and install anytime I want to switch – BUT – what if internet is an issue?

So how do I run two versions of QGIS at once? On windows it’s simple. On linux (ubuntu) I’m down to compiling. I tried docker (and was successful) and I built a snap package (and was successful) but – it was all a bit painful. Until……

 

One of my larger heart burns just went away. Yes I could have run a Virtual machine and ran 2.18 but it felt like that was too much overhead for what I needed. Granted – I’m still interested in building a snap but I don’t have to burn more time on that because:

The conda environment gives you a great way to get this done. So much thanks to Alexandre Neto for that trick. It made my life a lot better and a lot easier. I’m also assuming (because I’ve not tried it) this will work for other Linux Distros – read up. Your Mileage may vary.

You may also like

QGIS Offline Help

QGIS Offline Help

Through a long series of events I found myself teaching QGIS in a classroom again. It's been a while. I used to just "hold" classes and sometime during the pandemic I jsut stopped. Occasionally I'll get a call for 3 or 4 people that want training but generally I've...

The online training website that I hardly talk about

The online training website that I hardly talk about

I had mentioned it some but it's probably been coming up on 6 months since I even mentioned training. Right before I decided to attempt to die in 2025 I had started building a training website at training.northrivergeographic.com. Basically it's my Intro to QGIS class...

QGIS Fun: Chickamauga Mound

QGIS Fun: Chickamauga Mound

I've been trying to stop once a week and do something fun with QGIS. Post Heart Incident I do a lot of walking. I've been re-exploring some places I used to go in town to exercise and one is the TN River Walk. I realized the other day I needed to do some OpenStreetMap...