How to install Photivo in Ubuntu Linux

  • By Christopher Kielty, last updated September 07, 2016
  • Filed under: Linux Ubuntu

The bad news is Photivo isn’t available in the main Ubuntu repositories (yet). The good news is that it’s fairly simple to install Photivo in Ubuntu with a PPA. Check out Photivo’s website for more details.

For this tutorial, I will be using Ubuntu 14.04.1 LTS. If you’re trying to get Photivo up and running on something else, please let me know. I’d be glad to help.

Install Photivo using apt-get

First, add ppa:dhor/myway:

sudo add-apt-repository ppa:dhor/myway

Then do:

sudo apt-get update

Then install Photivo:

sudo apt-get install photivo

Confirm the installation and wait a few moments for it to complete. And… Presto! You now have a brand new copy of Photivo installed! Unfortunately, if your copy of Ubuntu is anything like my copy of Ubuntu, you will see this error message when you try to actually start Photivo.

Fatal error: Wrong GraphicsMagick quantum depth! Found quantum depth 8. Photivo needs at least 16.

I hate error messages with exclamation marks…

Compile GraphicsMagick from source

To fix this, you need to compile GraphicsMagick with a quantum depth of 16. This might sound complicated. It really isn’t. No quantum mechanics involved, I promise.

If you haven’t compiled anything from source on your system before, we’ll need some development tools before we get started.

sudo apt-get install build-essentials checkinstall

Now, download the latest GraphicsMagick source from SourceForge.

Once you have that downloaded, make a “src” directory in your home folder and copy the GraphicsMagick tar file there. Please be aware that the exact name of the file you download might be slightly different than mine. Also, just to be sure, we’re going to chmod our src directory.

mkdir ~/src
sudo chmod u+rwx ~/src
cd ~/src
mv ~/Downloads/GraphicsMagick-LATEST.tar.gz ~/src


tar -xzvf GraphicsMagick-LATEST.tar.gz

Navigate to the GraphicsMagick directory we just unpacked:

cd GraphicsMagick-1.3.20/

Run configure. You’ll want to scroll to the right in the code below to see the whole thing. It might be best to just copy and past.

./configure --prefix=/usr --with-quantum-depth=16 --enable-shared --without-lcms

Run make. This might take a little while.

make -j4

Once make is finished, do:

sudo make install

Congratulations! You should now have a fully functional copy of Photivo running on your system. Enjoy.

Photivo on Ubuntu desktop