nss-config command not found

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

Introduction

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

nss-config: command not found

or when using sudo you get the following error message

sudo: nss-config: command not found

Solutions to nss-config: command not found

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

In Ubuntu nss-config is provided by libnss3-dev package.

libnss3-dev is:

This is a set of libraries designed to support cross-platform development of security-enabled client and server applications. It can support SSLv2 and v4, TLS, PKCS #5, #7, #11, #12, S/MIME, X.509 v3 certificates and other security standards.

Install this package if you wish to develop your own programs using the Network Security Service Libraries.

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

sudo apt-get -y install libnss3-dev

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

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

sudo apt -y install libnss3-dev

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

sudo aptitude install libnss3-dev

Summary

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