How To Install vtgamma on Ubuntu 18.04

In this tutorial we learn how to install vtgamma on Ubuntu 18.04. vtgamma is gamma correction for terminals

Introduction

In this tutorial we learn how to install vtgamma on Ubuntu 18.04.

What is vtgamma

vtgamma is:

This tool can apply gamma correction to Linux virtual terminals and many graphical terminals. The correction can use either a single gamma value, or separate ones for each color component (R/G/B).

There are three methods to install vtgamma on Ubuntu 18.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 vtgamma Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install vtgamma

Install vtgamma Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install vtgamma

Install vtgamma 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 vtgamma using aptitude by running the following command:

sudo aptitude -y install vtgamma

How To Uninstall vtgamma on Ubuntu 18.04

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

sudo apt-get remove vtgamma

Uninstall vtgamma And Its Dependencies

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

sudo apt-get -y autoremove vtgamma

Remove vtgamma Configurations and Data

To remove vtgamma configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge vtgamma

Remove vtgamma configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge vtgamma

References

Summary

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