ksba-config command not found

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

Introduction

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

ksba-config: command not found

or when using sudo you get the following error message

sudo: ksba-config: command not found

Solutions to ksba-config: command not found

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

In Ubuntu ksba-config is provided by libksba-dev package.

libksba-dev is:

KSBA (pronounced Kasbah) is a library to make X.509 certificates as well as the CMS easily accessible by other applications. Both specifications are building blocks of S/MIME and TLS.

KSBA provides these subsystems: ASN.1 Parser, BER Decoder, BER Encoder, Certificate Handling and CMS Handling.

This package contains the development library files.

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

sudo apt-get -y install libksba-dev

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

You can also use apt command to install libksba-dev.

sudo apt -y install libksba-dev

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

sudo aptitude install libksba-dev

Summary

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