This post tested on Ubuntu 18.04. The latest LTS version at the moment (20.04) is not supported PAC any more due to the conflict in library Gnome2::Vte.
For later version, please use Asbru
(a folk of PAC)
Step 1. Install PAC from debfile
sudo apt-file update
sudo dpkg -i pac-4.5.5.7-all.deb
sudo apt-get install libextutils-depends-perl libextutils-pkgconfig-perl pkg-config dh-make-perl apt-file libglib2.0-dev libpango1.0-dev libvte-dev libvte-2.91-dev
Step 2. Install missing packages with cpan
cpan
> install ExtUtils::PkgConfig
> install ExtUtils::Depends
Step 3. Fix the gnome2::Vte library
dh-make-perl --cpan Gnome2::Vte --build
sudo dpkg -i libgnome2-vte*.deb
sudo find /opt/pac/ -name "Vte.so*" -exec rm {} +
For now, PAC supposes to work normally. To check that, lauch pac
from the Terminal and check the log for more information.
Reference: