How To Install gnome-disk-utility on Debian 12

Learn how to install gnome-disk-utility on Debian 12 with this tutorial. gnome-disk-utility is manage and configure disk drives and media

Introduction

In this tutorial we learn how to install gnome-disk-utility on Debian 12.

What is gnome-disk-utility

gnome-disk-utility is:

GNOME Disks is a tool to manage disk drives and media:

  • Format and partition drives.
  • Mount and unmount partitions.
  • Query S.M.A.R.T. attributes.

It utilizes udisks.

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

Install gnome-disk-utility Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install gnome-disk-utility

Install gnome-disk-utility Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gnome-disk-utility using apt by running the following command:

sudo apt -y install gnome-disk-utility

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

sudo aptitude -y install gnome-disk-utility

How To Uninstall gnome-disk-utility on Debian 12

To uninstall only the gnome-disk-utility package we can use the following command:

sudo apt-get remove gnome-disk-utility

Uninstall gnome-disk-utility And Its Dependencies

To uninstall gnome-disk-utility and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove gnome-disk-utility

Remove gnome-disk-utility Configurations and Data

To remove gnome-disk-utility configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge gnome-disk-utility

Remove gnome-disk-utility configuration, data, and all of its dependencies

We can use the following command to remove gnome-disk-utility configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gnome-disk-utility

Dependencies

gnome-disk-utility have the following dependencies:

References

Summary

In this tutorial we learn how to install gnome-disk-utility package on Debian 12 using different package management tools: apt, apt-get and aptitude.