apu-1-config command not found

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

Introduction

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

apu-1-config: command not found

or when using sudo you get the following error message

sudo: apu-1-config: command not found

Solutions to apu-1-config: command not found

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

In Ubuntu apu-1-config is provided by libaprutil1-dev package.

libaprutil1-dev is:

APR is Apache’s Portable Runtime Library, designed to be a support library that provides a predictable and consistent interface to underlying platform-specific implementations.

APR Util is a utilities library implemented on top of apr, providing database access, xml parsing, and other useful functionality.

This package contains development headers for APR util.

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

sudo apt-get -y install libaprutil1-dev

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

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

sudo apt -y install libaprutil1-dev

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

sudo aptitude install libaprutil1-dev

Summary

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