Disk Partitioning on Linux is usually done in Terminal using fdisk utility which is quite tough for a newbie. To encounter the problem, the GNU project came up with GParted. GParted is Graphic Based disk utility with advanced features.
GParted is an Official GNOME partition-managing tool that is capable of doing everything including creating and deleting partitions.
Table of Contents
Major functionalities of GParted
- Creating partition tables: If you are a Linux newbie and familiar with Windows desktop let me give you an example, You can make different drives such as C drive, E drive, and so on. But in the case of Linux, you will get the default naming of sda1, sdb2, and so on.
- Handling partitions: You can create, delete, move, resize your partitions. It also includes setting up new UUID for your partitions or labeling them.
- You can manipulate file systems such as btrfs, exfat, ext2/3/4, f2fs, FAT16/32, hfs/hfs+, linux-swap, luks, lvm2 pv, nilfs2, NTFS, reiserfs/4, udf, ufs, and xfs.
- Enabling and disabling partition flags (e.g., boot, hidden)
- You can Align partitions to MiB or cylinder boundaries
- You can recover data from Lost Partitions
- Supports all kinds of RAID including hardware RAID, motherboard BIOS RAID, Linux software RAID
- Has the support of all sector sizes (e.g., 512, 1024, 2048, 4096-byte sectors)
Installing GParted in Ubuntu System
We are going to show you two separate methods by which you can easily install GParted in your system. So let’s start the process with the easiest guide first.
Installing GParted using Ubuntu Software Center:
This is the easiest method to install GParted on Ubuntu Because we are using Graphical User Interface for this given task.
Search Ubuntu Software Centre in your menu
Click on the Search Button and type GParted and click on the given results.
Click on Install, It will ask for your password. Enter your password and you have successfully installed GParted on your system.
Installing GParted using Terminal:
If you are a little familiar with a command-line interface, this process is the most efficient to complete any given task. Just follow the given commands:
sudo apt update
This will update all the PPA which we have currently installed on our system and save us from any malfunctioning.
sudo apt install gparted
This will ask for your password and after that will start the installation process.
How to uninstall GParted from Ubuntu System
There are two ways to uninstall GParted as same as we installed GParted in our system. So we will Discuss both of them so that you can operate in your preferred way.
Uninstalling GParted using Ubuntu Software Center
Search and open Software, Remember this is not the Ubuntu software center that we previously used to install GParted.
Click on the search button and type GParted. Click on the given result
Click on Uninstall Option, enter your password and that’s it. GParted has been uninstalled from your system.
How to Uninstall GParted using Terminal
There are multiple ways by which you can uninstall GParted using Terminal
You can Uninstall GParted from Ubuntu by using the following command:
sudo apt-get remove gparted
If you want to uninstall GParted and its Dependencies which are no longer required, you can use the following commands:
sudo apt-get remove –auto-remove gparted
If you will use purge, all the dependencies and packages with GParted will be removed.
sudo apt-get purge gparted
If you will use purge with auto-remove, it will remove everything related to that package and can be helpful when you reinstall it again
sudo apt-get purge –auto-remove gparted
What is your favorite feature of GParted?
GParted is one of the most useful tools of Linux and is also available in Windows. GParted is made to provide easy disk management rather than using fdisk in Terminal.
GParted is mainly used to create and manage partitions and can be helpful if you are having a Multiboot system.