[Qgis-developer] Dockers for QGIS

Tim Sutton tim at kartoza.com
Sun Mar 20 02:17:36 PDT 2016


Hi

> On 19 Mar 2016, at 11:24, Paolo Cavallini <cavallini at faunalia.it> wrote:
> 
> Il 19/03/2016 09:58, Andreas Neumann ha scritto:
>> Hi Paolo,
>> 
>> It is relatively easy to have several parallel QGIS versions on Linux,
>> if you compile it yourself. You can set the CMAKE_INSTALL_PREFIX to
>> wherever you like, e.g. in your home directory.
> 
> Thanks Andreas,
> I know of this possibility, but in the past I did have bad experiences,
> and I'd prefer to keep things clean.
> One reason why I'd like to have things in separate environments is that
> being on sid base libs change often, so I always have to recompile all
> versions to avoid crashes. This may get difficult when qt4 support in
> Debian will be removed. That's why I explored the docker alternative.
> Thanks again.

I mainly had bad experiences when trying to mix packages and hand build QGIS on the same system. Since I don’t use packages I have every version of QGIS installed for the last 6 or so releases in a pattern like this

/usr/local/qgis-<version>

I have little launcher scripts and .desktop files so that you can simply launch whichever version you want from gnome (or whatever DE you prefer). This all works seamlessly without any issue. I also have docker launchers set up in a similar way. Although I am a huge fan of docker, I actually think building multiple binaries into different prefixes gives you a better experience and would be my recommended approach if a user is able to compile themselves. I’ll make a little repo with my start scripts and .desktop files if that is useful to anyone (you just need to ensure you use the same INSTALL_PREFIX convention I do.

Regards

Tim

> 
> --
> Paolo Cavallini - www.faunalia.eu
> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

—





Tim Sutton

Visit http://kartoza.com <http://kartoza.com/> to find out about open source:

* Desktop GIS programming services
* Geospatial web development
* GIS Training
* Consulting Services

Skype: timlinux Irc: timlinux on #qgis at freenode.net
Tim is a member of the QGIS Project Steering Committee

Kartoza is a merger between Linfiniti and Afrispatial

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160320/f34f4611/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KartozaLogo160x66.png
Type: image/png
Size: 9324 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160320/f34f4611/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160320/f34f4611/attachment-0001.sig>


More information about the Qgis-developer mailing list