kdump-config command not found

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

Introduction

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

kdump-config: command not found

or when using sudo you get the following error message

sudo: kdump-config: command not found

Solutions to kdump-config: command not found

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

In Ubuntu kdump-config is provided by kdump-tools package.

kdump-tools is:

kdump-tools provides an init script and a configuration script for automating the use of kdump. It uses the makedumpfile utility to reduce the size of the /proc/vmcore file based on user preferences.

After installing, please see /usr/share/doc/kdump-tools/README.Debian for information on enabling and configuring kdump.

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

sudo apt-get -y install kdump-tools

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

You can also use apt command to install kdump-tools.

sudo apt -y install kdump-tools

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

sudo aptitude install kdump-tools

Summary

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