According to:
https://chirp.danplanet.com/projects/chirp/wiki/Running_Under_Linux#serial-port-permissions
You need to run the following to install the application from source:
sudo apt-add-repository ppa:dansmith/chirp-snapshots
sudo apt-get update
sudo apt-get install chirp-daily
However these steps didn't work for me. To compile it from source, I downloaded the application using:
http://trac.chirp.danplanet.com/chirp_daily/LATEST
Once I got the repo, I unpacked it:
tar xzf chirp-0.1.12.tar.gz
cd chirp-0.1.12
then installed the prerequisites:
apt-get install python-libxml2
I had to install the other prerequisites:
- python-gtk
- python-serial
in a different way using:
wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-5.1ubuntu2_amd64.deb
sudo dpkg -i python-gtk2_2.24.0-5.1ubuntu2_amd64.deb
sudo apt install --fix-broken
sudo dpkg -i python-gtk2_2.24.0-5.1ubuntu2_amd64.deb
This was an issue because the gtk2 package used is only compatible with Python 2.x which has been deprecated now (2020).