sudo apt update

sudo apt install git make cmake libgps-dev libusb-dev libudev-dev libhamlib-dev gcc g++ libasound2-dev 
Now Let's Install Direwolf:

git clone https://www.github.com/wb2osz/direwolf
cd direwolf

Run The Checkout Command:

git checkout dev

Now We Need To Make The Build Dir:

mkdir build && cd build

Time To Make And Install Direwolf:
Run Each Line One At A Time:

cmake ..
make
sudo make install
make install-conf
To Start Direwolf:

direwolf