How To Install tint2 on Ubuntu 18.04

In this tutorial we learn how to install tint2 on Ubuntu 18.04. tint2 is lightweight taskbar

Introduction

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

What is tint2

tint2 is:

Tint is a simple panel/taskbar intentionally made for openbox3, but should also work with other window managers. The taskbar includes transparency and color settings for the font, icons, border, and background. It also supports multihead setups, customized mouse actions, and a built-in clock. Tint was originally based on ttm code. Since then, support has also been added for a battery monitor and system tray.

The goal is to keep a clean and unintrusive look with lightweight code and compliance with freedesktop specification.

There are three methods to install tint2 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 tint2 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install tint2

Install tint2 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install tint2

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

sudo aptitude -y install tint2

How To Uninstall tint2 on Ubuntu 18.04

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

sudo apt-get remove tint2

Uninstall tint2 And Its Dependencies

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

sudo apt-get -y autoremove tint2

Remove tint2 Configurations and Data

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

sudo apt-get -y purge tint2

Remove tint2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge tint2

References

Summary

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