How To Install gnome-disk-utility on Ubuntu 20.04
Introduction
In this tutorial we learn how to install gnome-disk-utility on Ubuntu 20.04.
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. Task: ubuntu-desktop-minimal, ubuntu-desktop, ubuntukylin-desktop, ubuntu-mate-desktop, ubuntu-budgie-desktop
Package: gnome-disk-utility Architecture: amd64 Version: 3.36.1-1ubuntu1 Priority: optional Section: admin Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian GNOME Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 1088 Depends: udisks2 (>= 2.7.6), dconf-gsettings-backend | gsettings-backend, libatk1.0-0 (>= 1.12.4), libc6 (>= 2.10), libcairo2 (>= 1.2.4), libcanberra-gtk3-0 (>= 0.25), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.43.2), libgtk-3-0 (>= 3.21.5), liblzma5 (>= 5.1.1alpha+20120614), libnotify4 (>= 0.7.0), libpango-1.0-0 (>= 1.18.0), libpangocairo-1.0-0 (>= 1.14.0), libpwquality1 (>= 1.1.0), libsecret-1-0 (>= 0.7), libsystemd0 (>= 209), libudisks2-0 (>= 2.7.6) Breaks: gnome-settings-daemon (« 3.24) Filename: pool/main/g/gnome-disk-utility/gnome-disk-utility_3.36.1-1ubuntu1_amd64.deb Size: 186236 MD5sum: 24c5a631358d1a6addb118cfe8744590 SHA1: 9bc44cbe75a828c55549b067da2b1f71190af9a5 SHA256: 9fffc2c2399fea4abe17a3752f8742b3a8a063e868b5f707615e5a043b049928 Homepage: https://wiki.gnome.org/Apps/Disks Description-en: manage and configure disk drives and media 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. Task: ubuntu-desktop-minimal, ubuntu-desktop, ubuntukylin-desktop, ubuntu-mate-desktop, ubuntu-budgie-desktop
There are three methods to install gnome-disk-utility on Ubuntu 20.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 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 Ubuntu. 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 Ubuntu 20.04
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 Ubuntu 20.04, 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 Ubuntu 20.04 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
References
Summary
In this tutorial we learn how to install gnome-disk-utility package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.