ppkg-config command not found

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

Introduction

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

ppkg-config: command not found

or when using sudo you get the following error message

sudo: ppkg-config: command not found

Solutions to ppkg-config: command not found

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

In Ubuntu ppkg-config is provided by libpkgconfig-perl package.

libpkgconfig-perl is:

PkgConfig provides a pure-perl, core-only replacement for the pkg-config utility. While pkg-config is a compiled binary linked with glib, the pure-perl version has no such requirement, and will run wherever Perl ( >= 5.6 ) does. The package provides a pure perl binary called ppkg-config which can be used as well as pkg-config.

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

sudo apt-get -y install libpkgconfig-perl

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

You can also use apt command to install libpkgconfig-perl.

sudo apt -y install libpkgconfig-perl

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

sudo aptitude install libpkgconfig-perl

Summary

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