How To Install baobab on Debian 10

Learn how to install baobab on Debian 10 with this tutorial. baobab is GNOME disk usage analyzer

Introduction

In this tutorial we learn how to install baobab on Debian 10.

What is baobab

baobab is:

Disk Usage Analyzer is a graphical, menu-driven application to analyse disk usage in a GNOME environment. It can easily scan either the whole filesystem tree, or a specific user-requested directory branch (local or remote).

It also auto-detects in real-time any changes made to your home directory as far as any mounted/unmounted device. Disk Usage Analyzer also provides a full graphical treemap window for each selected folder.

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

Install baobab Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install baobab

Install baobab Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install baobab

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

sudo aptitude -y install baobab

How To Uninstall baobab on Debian 10

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

sudo apt-get remove baobab

Uninstall baobab And Its Dependencies

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

sudo apt-get -y autoremove baobab

Remove baobab Configurations and Data

To remove baobab configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge baobab

Remove baobab configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge baobab

Dependencies

baobab have the following dependencies:

References

Summary

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