How To Install butteraugli on Ubuntu 20.04

In this tutorial we learn how to install butteraugli on Ubuntu 20.04. butteraugli is measuring perceived differences between images

Introduction

In this tutorial we learn how to install butteraugli on Ubuntu 20.04.

What is butteraugli

butteraugli is:

Butteraugli is a project that estimates the psychovisual similarity of two images. It gives a score for the images that is reliable in the domain of barely noticeable differences. Butteraugli not only gives a scalar score, but also computes a spatial map of the level of differences.

One of the main motivations for this project is the statistical differences in location and density of different color receptors, particularly the low density of blue cones in the fovea. Another motivation comes from more accurate modeling of ganglion cells, particularly the frequency space inhibition.

There are three methods to install butteraugli on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install butteraugli Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install butteraugli using apt-get by running the following command:

sudo apt-get -y install butteraugli

Install butteraugli Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install butteraugli using apt by running the following command:

sudo apt -y install butteraugli

Install butteraugli Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install butteraugli using aptitude by running the following command:

sudo aptitude -y install butteraugli

How To Uninstall butteraugli on Ubuntu 20.04

To uninstall only the butteraugli package we can use the following command:

sudo apt-get remove butteraugli

Uninstall butteraugli And Its Dependencies

To uninstall butteraugli and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove butteraugli

Remove butteraugli Configurations and Data

To remove butteraugli configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge butteraugli

Remove butteraugli configuration, data, and all of its dependencies

We can use the following command to remove butteraugli configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge butteraugli

References

Summary

In this tutorial we learn how to install butteraugli package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.