pspell-config command not found

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

Introduction

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

pspell-config: command not found

or when using sudo you get the following error message

sudo: pspell-config: command not found

Solutions to pspell-config: command not found

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

In Ubuntu pspell-config is provided by libpspell-dev package.

libpspell-dev is:

This package contains the headers and static libraries for developing applications with portable spell-checking interface (pspell) support.

You need this package ONLY if you plan to build applications that link against the pspell static libraries. You do not have to install this package if all you want to do is use the Aspell program to spell-check.

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

sudo apt-get -y install libpspell-dev

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

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

sudo apt -y install libpspell-dev

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

sudo aptitude install libpspell-dev

Summary

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