How to Install and Uninstall lvm2 Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 18,2024

1. Install "lvm2" package

This is a short guide on how to install lvm2 on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install lvm2

2. Uninstall "lvm2" package

Learn how to uninstall lvm2 on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the lvm2 package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: lvm2
Architecture: amd64
Version: 2.03.11-2.1ubuntu4
Multi-Arch: foreign
Priority: optional
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian LVM Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4032
Pre-Depends: init-system-helpers (>= 1.54~)
Depends: libaio1 (>= 0.3.93), libblkid1 (>= 2.24.2), libc6 (>= 2.34), 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.1ubuntu4~), dmeventd (>= 2:1.02.175-2.1ubuntu4~)
Recommends: thin-provisioning-tools
Filename: pool/main/l/lvm2/lvm2_2.03.11-2.1ubuntu4_amd64.deb
Size: 1154112
MD5sum: cce79b976ab972a2e1e522023a967cca
SHA1: 6b975ce8383d1a724c9c142aea4aaeefa30691db
SHA256: 4cd12a47ca9d05b3c93aaa78e51cb880e9b0f67e67c9dd29fba63ac2cee5b9cf
SHA512: 2a4cf700f0dd2d18cc911bbcf9f2656b4c12ce8a16734aef822c10cd79561de0602fe5843c15735d178ec589796f2e78f228572fb287889b46690dffa4b0e3d0
Homepage: https://sourceware.org/lvm2/
Description: Linux Logical Volume Manager
Description-md5: 9df95d102d2b0aad5aff13603ef0cb3f
Task: server-minimal, cloud-image, ubuntu-live, server, ubuntu-server-raspi, kubuntu-live, xubuntu-live, lubuntu-live, ubuntustudio-dvd-live, ubuntukylin-live, ubuntu-mate-live, ubuntu-budgie-live