How to Install and Uninstall lvm2 Package on Debian 11 (Bullseye)

Last updated: May 20,2024

1. Install "lvm2" package

This tutorial shows how to install lvm2 on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install lvm2

2. Uninstall "lvm2" package

Please follow the guidelines below to uninstall lvm2 on Debian 11 (Bullseye):

$ sudo apt remove lvm2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the lvm2 package on Debian 11 (Bullseye)

Package: lvm2
Version: 2.03.11-2.1
Installed-Size: 3944
Maintainer: Debian LVM Team
Architecture: amd64
Depends: libaio1 (>= 0.3.93), libblkid1 (>= 2.24.2), libc6 (>= 2.28), libdevmapper-event1.02.1 (>= 2:1.02.74), libedit2 (>= 2.11-20080614-0), libselinux1 (>= 3.1~), libsystemd0 (>= 222), libudev1 (>= 183), lsb-base, dmsetup (>= 2:1.02.175-2.1~), dmeventd (>= 2:1.02.175-2.1~)
Pre-Depends: init-system-helpers (>= 1.54~)
Recommends: thin-provisioning-tools
Description: Linux Logical Volume Manager
Description-md5: 9df95d102d2b0aad5aff13603ef0cb3f
Multi-Arch: foreign
Homepage: https://sourceware.org/lvm2/
Tag: admin::filesystem, interface::commandline, role::program,
scope::utility, uitoolkit::ncurses
Section: admin
Priority: optional
Filename: pool/main/l/lvm2/lvm2_2.03.11-2.1_amd64.deb
Size: 1194124
MD5sum: 8d48ea9d64dcd63e8460adfdefc0e171
SHA256: c1253ce30a11b5f87090e1c639778108ea11671e8b68b96262a0f6210758cbf3