How To Install gt5 on Debian 11

In this tutorial we learn how to install gt5 on Debian 11. gt5 is shell program to display visual disk usage with navigation

Introduction

In this tutorial we learn how to install gt5 on Debian 11.

What is gt5

gt5 is:

Years have passed and disks have become larger and larger, but even on this incredibly huge harddisk era, the space seems to disappear over time. This small shell program provides more convenient listing than the default disk usage du(1). The program displays what has happened since last run and displays dir size and the total percentage. It is possible to navigate and descend to directories by using cursor keys with text based browsers like links, elinks, lynx etc.

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

Install gt5 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install gt5

Install gt5 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gt5

Install gt5 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install gt5

How To Uninstall gt5 on Debian 11

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

sudo apt-get remove gt5

Uninstall gt5 And Its Dependencies

To uninstall gt5 and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove gt5

Remove gt5 Configurations and Data

To remove gt5 configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge gt5

Remove gt5 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gt5

Dependencies

gt5 have the following dependencies:

References

Summary

In this tutorial we learn how to install gt5 package on Debian 11 using different package management tools: apt, apt-get and aptitude.