sa-config command not found

In this troubleshooting guide we learn how to fix sa-config command not found error message

Introduction

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

sa-config: command not found

or when using sudo you get the following error message

sudo: sa-config: command not found

Solutions to sa-config: command not found

How To Fix sa-config: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu sa-config is provided by libossp-sa-dev package.

libossp-sa-dev is:

OSSP sa is an abstraction library for the Unix socket application programming interface (API) featuring stream and datagram oriented communication over Unix Domain and Internet Domain (TCP and UDP) sockets. It provides the following key features: address abstraction (local, IPv4, and IPv6), type abstraction, I/O timeouts, I/O stream buffering and convenience I/O functions.

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

sudo apt-get -y install libossp-sa-dev

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

You can also use apt command to install libossp-sa-dev.

sudo apt -y install libossp-sa-dev

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

sudo aptitude install libossp-sa-dev

Summary

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