Need a simple, fast manner to decide what folders and information are taking on area on your Linux PC? Check out Diskonaut! It’s a superb app that may shortly scan and present you a superb visible illustration of how your disk is in use.
On this information, we’ll present you ways to get the Diskonaut app working, and the way to use it to find disk usage on Linux!
Putting in Diskonaut on Linux
Earlier than we go into how to use Diskonaut on Linux to find disk usage, we should display how to set up it, as it isn’t a default software. Observe the directions beneath that correspond to the Linux OS you at present use.
Ubuntu/Debian
Sadly, there is no such thing as a binary launch of Diskonaut for Ubuntu or Debian. Because of this, should you’d like to use the app, you should construct the software program from scratch. Fortunately, it isn’t tough. To begin the set up, open up a terminal window by urgent Ctrl + Alt + T or Ctrl + Shift + T on the keyboard. Then, use the command beneath to set up the newest Curl to your laptop.
sudo apt set up curl
As soon as the Curl device is about up on your laptop, use it to seize the installer for the newest Rust programming language. Diskonaut is written in Rust, and it’s required to run the app and to compile the supply code.
sudo curl --proto '=https' --tlsv1.2 -sSf | sh
Observe the on-screen directions to get Rust put in on your system. Remember the fact that this wants to be run with the sudo command, as Rust should have system-level entry.
When the Rust programming language is about up on your Ubuntu or Debian Linux system, you will want to arrange the setting. Run the supply command beneath.
supply $HOME/.cargo/env
Lastly, make use of the cargo command to seize the newest launch of Diskonaut and set up it on the system. Ensure to observe the on-screen prompts to get Diskonaut arrange.
sudo cargo set up diskonaut
After this system is put in, you possibly can run the diskonaut command to use it on Ubuntu or Debian.
Arch Linux
On Arch Linux, Diskonaut isn’t within the software program sources. Nonetheless, there’s an AUR package deal. To put in it on your laptop, begin by putting in the “Git” and “Base-devel” packages.
sudo pacman -S git base-devel
As soon as each packages are arrange on your laptop, use the git clone command to seize the newest launch of Trizen, an AUR helper program that may automate the set up of Diskonaut.
git clone
Set up Trizen utilizing the makepkg command.
cd trizen makepkg -sri
Lastly, arrange Diskonaut with the next trizen -S command.
trizen -S diskonaut
Fedora
On Fedora, Diskonaut may be very simple to set up. Simply use Dnf.
sudo dnf set up diskonaut
OpenSUSE
On OpenSUSE Linux, there is no such thing as a package deal for Diskonaut. Nonetheless, it may be constructed. To do it, begin by opening up a terminal window. Then, use the Zypper command to set up Curl.
sudo zypper set up curl
As soon as Curl is about up, observe the Ubuntu/Debian set up directions, as they’re positive to work on OpenSUSE.
Use Diskonaut to find disk usage
Diskonaut is a superb app, and it’s tremendous simple to use. To find disk usage with it, begin by launching a terminal window. Then, as soon as the terminal window is open, observe the examples to find out how to use Diskonaut.
Scan the foundation listing
If you’d like to take a fast have a look at the disk usage of your complete Linux system, you will want to scan the foundation listing. To scan the foundation listing, run the next command beneath in a terminal window.
CAUTION: solely run as root if you’re an skilled Linux person, as operating the command as root can delete system information.
sudo diskonaut /
By operating this command, Diskonaut will inform you what the most important folders are on the system at a look. If you need to enter any of those folders, use the arrow key to choose a folder, and the Enter key to entry it.
Want to delete one thing? Press the Backspace key.
Simply need to check out the foundation listing however don’t need to delete something? Run the command beneath.
diskonaut /
Scan the house listing
You may use Diskonaut to check out the folders in your house listing should you’re making an attempt to work out what on this listing is inflicting elevated disk usage.
diskonaut ~/
As soon as the Diskonaut app is finished scanning, use the Arrow keys to choose particular person folders. To enter a folder, press the Enter key. To delete a file or folder, choose an merchandise in Diskonaut and press Backspace.
Scan a selected listing
Is there a selected listing you’d like to have Diskonaut scan? Right here’s how to do it. First, run the diskonaut command however add the precise folder location onto the command. For instance, to scan the /decide folder, you’d run:
diskonaut /decide
Or, for system-level entry, add sudo to it.
sudo diskonaut /decide
When you’ve scanned the folder you’d like to scan with Diskonaut, use the Arrow keys to navigate the scan outcomes and press Enter to entry folders and information. Press Backspace to delete information and folders.