How To install DisplayCAL on Fedora 32 / 33 / 34

Edit: Everything in this post also applies to Fedora 32 / 33 / 34.

Both my Photography and VFX workflow heavily depends on ArgyllCMS and DisplayCAL and I recently upgraded to Fedora 32 (and then Fedora 33). Surprise, surprise... Fedora 32 dropped the Python2 support and it is all Python3 now, which is good... But a lot of packages like DisplayCAL which are depending on Python2 are not available any more.

I first decided to try porting DisplayCAL to Python 3. But it is huge task and DisplayCAL has some ancient code styling and dependencies to some unavailable packages. So I quickly resigned from that.

It is much much easier to try to install the RPM packages and their dependencies from Fedora 31. Hopefully, it is an easy task. Here are the instructions to install DisplayCAL on Fedora 32.

Download the following RPM packages that are compiled for Fedore 31 (which will work for 32/33/34 too):

python2-wxpython
python2-gobject-base
python2-gobject
DisplayCAL

You can use the following command to download them all at once:

wget https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/31/Everything/x86_64/os/Packages/p/python2-wxpython-3.0.2.0-26.fc31.x86_64.rpm https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/31/Everything/x86_64/os/Packages/p/python2-gobject-3.34.0-3.fc31.x86_64.rpm https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/31/Everything/x86_64/os/Packages/p/python2-gobject-base-3.34.0-3.fc31.x86_64.rpm https://rpmfind.net/linux/fedora/linux/releases/31/Everything/x86_64/os/Packages/p/python2-gobject-3.34.0-3.fc31.x86_64.rpm https://displaycal.net/download/Fedora_31/x86_64/DisplayCAL.rpm

And install them (update, now using dnf to install which will also install other dependencies automatically):

sudo dnf install argyllcms-*.rpm python2-wxpython*.rpm python2-gobject*.rpm DisplayCAL*.rpm

Hope it helps...

P.S.: I'll try to post more in this old blog of mine again... See you around!

Comments

Michael said…
Yes this is a big pain... and I did the same thing.
You do get a complaint when updating with dnf

Problem: package fedora-obsolete-packages-33-29.noarch obsoletes python2-wxpython < 3.0.2.0-27 provided by python2-wxpython-3.0.2.0-26.fc31.x86_64
- package DisplayCAL-3.8.9.3-1.1.x86_64 requires wxPython >= 2.8.11, but none of the providers can be installed
- cannot install the best update candidate for package python2-gobject-3.34.0-3.fc31.x86_64
- problem with installed package DisplayCAL-3.8.9.3-1.1.x86_64

but this seems benign.

I had to remove and then reinstall some of the packages when upgrading from F32 to F33
Yeah I don't mind those error messages too :)
Unknown said…
I installed additionally:

SDL2_mixer

It works fine on Fedora 33.
Thank you!
cm said…
FYI on my Fedora 34, I need to wget and install this NumPy as well:
https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/31/Everything/x86_64/os/Packages/p/python2-numpy-1.16.4-5.fc31.x86_64.rpm


Thanks for posting this How-to!