gen_packets command not found

In this troubleshooting guide we learn how to fix gen_packets command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

gen_packets: command not found

or when using sudo you get the following error message

sudo: gen_packets: command not found

Solutions to gen_packets: command not found

How To Fix gen_packets: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gen_packets is provided by direwolf package.

direwolf is:

Dire Wolf is a software “soundcard” modem/TNC and APRS encoder/decoder. It can be used stand-alone to receive APRS messages, as a digipeater, APRStt gateway, or Internet Gateway (IGate). It can also be used as a virtual TNC for other applications such as APRSIS32, UI-View32, Xastir, APRS-TW, YAAC, UISS, Linux AX25, SARTrack, and many others.

To fix this problem, we can install more using the command below.

sudo apt-get -y install direwolf

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install direwolf.

sudo apt -y install direwolf

Or if you have aptitude installed you can use the following command.

sudo aptitude install direwolf

Summary

In this tutorial we learn how to fix gen_packets command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.