2018-11-18

PngOptimizer PPA

It took my a lot of time, but I finally learned how to distribute PngOptimizer through Ubuntu's PPA. This will make things easier to install and update PngOptimizer on Ubuntu. Now you can install it with these commands:

sudo add-apt-repository ppa:psydk/pngoptimizer
sudo apt update  # not needed on recent versions of Ubuntu
sudo apt install pngoptimizer

The package is available for Ubuntu 16.04, 18.04, 18.10 and 19.04. For now the version is still a beta but it's probably the last one before bumping the version for real.

I followed Ubuntu packaging guide and successfully created everything to be able to deliver my first package. However, what I missed in the guide, is a page explaining how to update the package when a new version of the software is released. It was quite tricky to find out, so in my next post I will write down the steps I did to successfully update the package, as a reminder for me and hopefully as a hint for other PPA package maintainer beginners.