How to Install and Uninstall gpart Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 22,2024

1. Install "gpart" package

In this section, we are going to explain the necessary steps to install gpart on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install gpart

2. Uninstall "gpart" package

This guide let you learn how to uninstall gpart on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove gpart $ sudo apt autoclean && sudo apt autoremove

3. Information about the gpart package on Ubuntu 21.04 (Hirsute Hippo)

Package: gpart
Architecture: amd64
Version: 1:0.3-8
Priority: optional
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Security Tools
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 81
Depends: libc6 (>= 2.4)
Suggests: fdisk | util-linux (<< 2.29.2-3~)
Filename: pool/universe/g/gpart/gpart_0.3-8_amd64.deb
Size: 35216
MD5sum: d08eb26516f4e2cddc04a040196c3f1d
SHA1: 325f8ebf924000118f7b9db0f61c2f4fe4185131
SHA256: 35d1bf07953e4a835820a09ae93b36d53c469af8f452a97aa27ad34084f8e679
SHA512: 06efc42eea129e48725bd4f804b72bdb763cf6f88fffb2336cda81e794284347440fd183eb2e58b9d226735469b35514ec92658335f209880407bcb2a56f1ab7
Homepage: https://github.com/baruch/gpart
Description-en: Guess PC disk partition table, find lost partitions
Gpart is a tool which tries to guess the primary partition table of a PC-type
disk in case the primary partition table in sector 0 is damaged, incorrect or
deleted.
.
It is also good at finding and listing the types, locations, and sizes of
inadvertently-deleted partitions, both primary and logical. It gives you the
information you need to manually re-create them (using fdisk, cfdisk, sfdisk,
etc.).
.
The guessed table can also be written to a file or (if you firmly believe the
guessed table is entirely correct) directly to a disk device.
.
Currently supported (guessable) filesystem or partition types:
.
* BeOS filesystem type.
* BtrFS filesystem type.
* FreeBSD/NetBSD/386BSD disklabel sub-partitioning scheme used on Intel
platforms.
* Linux second extended filesystem (Ext2).
* MS-DOS FAT12, FAT16 and FAT32 "filesystems".
* IBM OS/2 High Performance filesystem.
* Linux LVM and LVM2 physical volumes.
* Linux swap partitions (versions 0 and 1).
* The Minix operating system filesystem type.
* MS Windows NT/2000 filesystem.
* QNX 4.x filesystem.
* The Reiser filesystem (version 3.5.X, X > 11).
* Sun Solaris on Intel platforms uses a sub-partitioning scheme on PC hard
disks similar to the BSD disklabels.
* Silicon Graphics journaled filesystem for Linux.
.
Gpart is useful in recovery actions and forensics investigations.
Description-md5: 4adc170a5c4ff7927ed10795940f56ee