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……
– Add the conda-forge channel to miniconda2 (that’s where qgis feedstock is https://t.co/aRUTdpOhef):
cd ~/miniconda2
conda config –add channels conda-forge– Install #qgis:
conda install qgis
To run qgis, you do:
~/miniconda2/bin/qgis
2/2— Alexandre Neto (@AlexNetoGeo) April 19, 2018
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.