How can I install KVPM on Ubuntu 20.04 LTS?

Have read references to KVPM in some questions about resizing LVs. Tried the typical sudo apt install kvpm but it gave me a message unable to locate package. I have checked the box for every source available on Software & Updates. Then I downloaded a deb package from http://archive.ubuntu.com/ubuntu/pool/universe/k/kvpm/kvpm_0.9.10-1.1_amd64.deb and got the following error:

The following packages have unmet dependencies:
 kvpm : Depends: liblvm2app2.2 (>= 2.02.176) but it is not installable
E: Unable to correct problems, you have held broken packages.

You have to get dependencies with it:

cd ~/Downloads
wget -c http://archive.ubuntu.com/ubuntu/pool/main/l/lvm2/liblvm2app2.2_2.02.176-4.1ubuntu3.18.04.3_amd64.deb
sudo apt-get install lvm2 ./liblvm2app2.2_2.02.176-4.1ubuntu3.18.04.3_amd64.deb

wget -c http://archive.ubuntu.com/ubuntu/pool/universe/k/kvpm/kvpm_0.9.10-1.1_amd64.deb
sudo apt-get install ./kvpm_0.9.10-1.1_amd64.deb

and then enjoy the KVPM application running on Ubuntu 20.04 LTS.

Depending on your desktop environment you can run it using one of the below commands:

  • sudo kvpm
  • pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY kvpm