Building hamlib from source you’ll need to run these commands from the command line interface (cli):

Let’s make sure we have the tools we need

sudo apt-get --yes install git build-essential

Get the latest version of the source code from the hamlib devs this is the main branch

git clone https://git.code.sf.net/p/hamlib/code hamlib-code

Change into the directory where the source code was just downloaded

cd hamlib-code

Building the source code using GNU tools:

configure the package

./configure

make the bianaries

make

perform the install

sudo make install

configure the libary paths that were just made and installed, important don’t miss this step or you’ll get errors and hamlib will not run

ldconfig