Mint

How to Install GDU on Linux Mint 20

How to Install GDU on Linux Mint 20

Introduction:

GDU is a graphical disk usage analyzer for the Linux operating system. It is used to tell how much capacity a disk has, whether it is mounted or not, how much of its capacity is filled by the data, etc. In this article, we will show you the complete method of installing the GDU disk usage analyzer on a Linux Mint 20 system.

Method of Installing the GDU Disk Usage Analyzer on Linux Mint 20:

For installing the GDU disk usage analyzer on a Linux Mint 20 machine, you need to perform the following steps:

Step # 1: Bring about a System Update:

First, we will bring about a system update by running the command shown below:

$ sudo apt update

Step # 2: Download the GDU Disk Usage Analyzer on your System:

Now, we will download the GDU disk usage analyzer with the help of the following command:

$ curl –L https://github.com/dundee/gdu/releases/latest/download/gdu_linux_amd64.tgz | tar xz

It will take some time to download the GDU disk usage analyzer on your Linux Mint 20 system after which the output shown in the image below will appear on your screen:

Step # 3: Make the Downloaded File Executable:

After that, we need to make the downloaded file executable by executing the following command:

$ chmod +x gdu_linux_amd64

Step # 4: Move the Downloaded File to the Relevant Directory:

Now, we need to move the downloaded executable file to a relevant directory from where we can run it directly. We can do this by executing the command shown below:

$ sudo mv gdu_linux_amd64 /usr/bin/gdu

Step # 5: Check the Version of the GDU Disk Usage Analyzer Installed on your System:

Finally, we can also check the version of this tool by running the following command from our terminal:

$ gdu --version

We have managed to install the GDU version 5.8.1 by following this method as you can see from the image shown below:

Step # 6: Run a Quick Disk Scan with the GDU Disk Usage Analyzer on your System:

Now, we will try to test this tool by checking all the mounted disks on our system by running the following command:

$ gdu –d

All the mounted disks of our Linux Mint 20 system are shown in the image below:

Method of Removing the GDU Disk Usage Analyzer from Linux Mint 20:

We can remove the GDU disk usage analyzer from our system by running the following command:

$ sudo rm –rf /usr/bin/gdu

Conclusion:

By carefully performing all the steps shared with you in this guide, you will be able to install the GDU disk usage analyzer on your Linux Mint 20 system. In this way, you will be able to keep a constant check on your system’s disk usage.

Similar Posts