smdiag command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
smdiag: command not found
or when using sudo you get the following error message
sudo: smdiag: command not found
Solutions to smdiag: command not found
How To Fix smdiag: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu smdiag is provided by ax25-xtools package.
ax25-xtools is:
These are hamradio specific tools for setting up and configuring hamradio ports that use AX.25 Net/ROM or ROSE network protocols.
This package is created separately for those who want to install tools that need X to run.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ax25-xtools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ax25-xtools.
sudo apt -y install ax25-xtools
Or if you have aptitude installed you can use the following command.
sudo aptitude install ax25-xtools
Summary
In this tutorial we learn how to fix smdiag command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.