In this tutorial, we will show you how to install GParted on AlmaLinux 9. For those of you who didn’t know, GParted, short for GNOME Partition Editor, is a powerful open-source partition management tool for Linux systems. Whether you need to resize, create, delete, or manipulate partitions on your hard drive, GParted is your go-to solution.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘
sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of GParted (GNOME Partition Editor) on AlmaLinux 9. You can follow the same instructions for CentOS and Rocky Linux or RHEL-based.
- A server running one of the following operating systems: AlmaLinux 9.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- An active internet connection. You’ll need an internet connection to download the necessary packages and dependencies for GParted.
non-root sudo useror access to the
root user. We recommend acting as a
non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.
Install GParted on AlmaLinux 9
Step 1. Before installing GParted, it’s a good practice to update your system’s package repository to ensure you’re getting the latest package information and dependencies. Open your terminal and execute the following commands:
sudo dnf clean all sudo dnf update
Step 2. Installing GParted on AlmaLinux 9.
Once you’ve identified the GParted package, you can install it using the ‘
dnf install‘ command:
sudo dnf install gparted
This command will prompt you for your sudo password. Enter it, and the installation process will begin. The system will automatically resolve dependencies and download the required files.
To ensure that GParted has been successfully installed, you can check the version and other information using the following command:
This will display the installed GParted version and confirm that the installation was successful.
Step 3. Accessing GParted on AlmaLinux.
Now that GParted is installed, you can launch it via the command line. Open your terminal and simply type:
Step 4. Tips and Troubleshooting.
Filesystem Errors: If GParted reports filesystem errors, consider running a filesystem check (e.g.,
fsck) on the affected partition.
Unmounted Partitions: Ensure that the partitions you want to work on are unmounted. GParted cannot modify mounted partitions.
Insufficient Free Space: When resizing partitions, ensure that there is enough free space available on the device.
Congratulations! You have successfully installed GParted. Thanks for using this tutorial for installing GParted (GNOME Partition Editor) on your AlmaLinux 9 system. For additional help or useful information, we recommend you check the official GParted website.