How To Install libparted-fs-resize0 on Debian 11

In this tutorial we learn how to install libparted-fs-resize0 on Debian 11. libparted-fs-resize0 is disk partition manipulator - shared FS resizing library

Introduction

In this tutorial we learn how to install libparted-fs-resize0 on Debian 11.

What is libparted-fs-resize0

libparted-fs-resize0 is:

GNU Parted is a program that allows you to create, destroy, resize, move, and copy disk partitions. This is useful for creating space for new operating systems, reorganizing disk usage, and copying data to new hard disks.

This package contains the libparted-fs-resize shared library for resizing HFS+ and FAT file systems.

There are three methods to install libparted-fs-resize0 on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libparted-fs-resize0 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libparted-fs-resize0 using apt-get by running the following command:

sudo apt-get -y install libparted-fs-resize0

Install libparted-fs-resize0 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libparted-fs-resize0 using apt by running the following command:

sudo apt -y install libparted-fs-resize0

Install libparted-fs-resize0 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libparted-fs-resize0 using aptitude by running the following command:

sudo aptitude -y install libparted-fs-resize0

How To Uninstall libparted-fs-resize0 on Debian 11

To uninstall only the libparted-fs-resize0 package we can use the following command:

sudo apt-get remove libparted-fs-resize0

Uninstall libparted-fs-resize0 And Its Dependencies

To uninstall libparted-fs-resize0 and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove libparted-fs-resize0

Remove libparted-fs-resize0 Configurations and Data

To remove libparted-fs-resize0 configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge libparted-fs-resize0

Remove libparted-fs-resize0 configuration, data, and all of its dependencies

We can use the following command to remove libparted-fs-resize0 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libparted-fs-resize0

Dependencies

libparted-fs-resize0 have the following dependencies:

References

Summary

In this tutorial we learn how to install libparted-fs-resize0 package on Debian 11 using different package management tools: apt, apt-get and aptitude.