How to Install Gparted on Ubuntu

Gparted is a powerful disk partitioning tool that allows Ubuntu users to manage and manipulate their disk partitions with ease. Whether you need to create new partitions, resize existing ones, or format and delete partitions, Gparted provides a user-friendly interface and a wide range of features to accomplish these tasks. This article will guide you through the process of installing Gparted on Ubuntu and provide an overview of its features and functions.

What is Gparted?


GParted, or GNOME Partition Editor, is a robust disk management tool designed for Ubuntu and various Linux distributions. It simplifies tasks such as creating, resizing, moving, and deleting disk partitions on your computer’s hard drive. While it’s not a magic solution for making your hard drive vanish, it does facilitate organizing and optimizing storage space.

GParted on Ubuntu offers several advantages. Its user-friendly interface makes partition management easy, even for non-tech-savvy users. It eliminates the need to format your entire hard drive when resizing a partition, ensuring data preservation.

Additionally, GParted allows you to clone, create, and merge partitions, providing flexibility in managing your hard drive effectively. In essence, GParted empowers you to take control of your hard drive and tailor it to your needs.

System Requirements for Installing Gparted on Ubuntu

Before diving into the Gparted installation process, it’s important to ensure your Ubuntu version is compatible.

Prerequisites for installation:

  • An Ubuntu 20.04 LTS Server environment with administrative privileges to execute commands.
  • Sudo or root access to run privileged commands in the system.
  • The apt or apt-get package manager is available to install dependencies.

Step-by-Step Guide for Installing Gparted on Ubuntu

1. Refresh the System Package Repository

First, the APT package repository cache should be refreshed to ensure the latest package information is available. This is accomplished by running “sudo apt update” which will rebuild the APT cache and install any available system updates. Maintaining current system packages lays the groundwork for adding new software.

2. Install Gparted Partition Editor

The Gparted partition editing software can be installed directly from the default Ubuntu 20.04 or 22.04 repositories using the APT package manager, without needing to add any third-party repositories. To install, use the following command:

sudo apt install gparted -y

This will install the latest version of Gparted from the configured APT sources, automatically accepting any prompts (-y). Utilizing the default repositories streamlines deployment without compromising software integrity or system security.

3. Launch the Gparted Partition Editor

After installing Gparted, there are two ways to launch the application:

  • Open the desktop Application Menu and search for “Gparted”.
  • When the icon appears, click it to launch the disk partitioning program.
  • Alternatively, Gparted can be launched directly from the terminal by typing the “gparted” command and hitting enter.

The terminal method provides quick access to Gparted without needing to locate the menu icon. Both options will open the software to begin working with disk partitions and file systems.

4. Navigating GParted

GParted provides partition management through an intuitive graphical interface. The main window displays connected drives and their partition schemes. Common operations are accessed via the menu bar:

  • “Devices” – Select which physical drive to partition
  • “Refresh Devices” – Scan for currently connected drives
  • “View”>”File System Support” – View matrix of supported file system actions

The “Edit” menu contains key functions:

  • “Undo” – Reverse recent pending operations
  • “Clear” – Delete all pending operations
  • “Apply All Operations” – Permanently execute queued changes

GParted stages all changes in a buffer and only writes them to disk when “Apply All Operations” is selected. This allows reviewing and undoing edits before finalizing. Once applied, changes cannot be reversed so ensure correctness first.

The menu structure and staged commit model enable intuitive drive and partition management. By buffering changes, GParted protects against accidental data loss from permanent disk modifications. The file system support matrix provides quick guidance on compatible operations per file system type.

Using Gparted to Manage Disk Partitions on Ubuntu

Managing disk partitions on Ubuntu can be a breeze with the help of Gparted. Whether you need to create a new partition, resize and move existing partitions, or delete and format partitions, Gparted has got you covered. Let’s dive into how you can harness the power of Gparted.

Launching Gparted on Ubuntu

Getting started with Gparted is as easy as a few clicks. Simply open the Ubuntu menu, search for Gparted, and launch the application. Once Gparted is up and running, you’ll be greeted with a clear and intuitive interface ready for all your partitioning needs.

Creating a new partition

Need some extra space for your files? No problem! Gparted allows you to create new partitions effortlessly. Just select the unallocated space on your disk, click on “New” in the toolbar, specify the desired size, and file system type, and voila! You’ve got yourself a brand-new partition to fill with whatever your heart desires.

Resizing and moving partitions

Sometimes, you may find yourself needing to resize or move partitions to better suit your evolving storage needs. With Gparted, it’s a piece of cake. Simply select the partition you wish to modify, click on “Resize/Move” in the toolbar, adjust the size or position as desired, and let Gparted work its magic. Your partitions will be rearranged smoothly, saving you the hassle of manual reconfiguration.

Deleting and formatting partitions

If you’re ready to say goodbye to a partition or need to reformat it for a fresh start, Gparted has got your back. Deleting a partition is as simple as selecting it and clicking on the “Delete” button. Need to format a partition? Just right-click on it, choose the desired file system format, and let Gparted do the rest. It’s like a digital spring cleaning for your disk!


With Gparted at your disposal, managing disk partitions on Ubuntu becomes a breeze. Before using Gparted, you must first install gparted ubuntu from the standard Ubuntu repositories. From creating new partitions to resizing and moving them, Gparted offers a user-friendly interface and powerful functionality.

Remember, while Gparted is a fantastic tool, exploring alternative partitioning options can open up new possibilities and help you find the perfect fit for your needs. So go forth, partition with confidence after installing gparted ubuntu, and may your disk space overfloweth with organized bliss!

Leave a Comment