kconfig-gettext command not found

In this troubleshooting guide we learn how to fix kconfig-gettext command not found error message

Introduction

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

kconfig-gettext: command not found

or when using sudo you get the following error message

sudo: kconfig-gettext: command not found

Solutions to kconfig-gettext: command not found

How To Fix kconfig-gettext: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu kconfig-gettext is provided by kconfig-frontends package.

kconfig-frontends is:

Kconfig-frontends provides the kconfig parser, as well as all the frontends (dialog, ncurses, Qt and Gtk based) to configure and generate config files and config headers for various projects. This package release old both console (dialog, ncurses) and graphic (qt) versions.

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

sudo apt-get -y install kconfig-frontends

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

You can also use apt command to install kconfig-frontends.

sudo apt -y install kconfig-frontends

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

sudo aptitude install kconfig-frontends

Summary

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