Running 2 versions of QGIS on Ubuntu Linux

May 2, 2018 | GIS, 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

Conda and QGIS Part 2

Conda and QGIS Part 2

Coming back from Yellowstone has left me slightly adrift. I missed a meeting yesterday as I keep forgetting to add things to my calendar. So the last time I mentioned Conda was like 2018 and the whole point to the Article was "I can now have two versions of QGIS...

Calculating NDVI in QGIS

Calculating NDVI in QGIS

Titling these articles is getting more difficult. I almost called this my "Getting my Junior Forestry Badge" because that's what I told one client the other day as I confidently misidentified another tree on a walk. A forestry person I am not - but I've gotten pretty...

MAGIP and TNGIC in 2024

MAGIP and TNGIC in 2024

I just came off two conferences with one being in Montana and one being in Tennessee. Both Geo related. It was my first time attending the MAGIP conference. Not that you need a long overly drawn out review of both - here are some of the highlights: TNGIC was fun. It...