paperconfig command not found

In this troubleshooting guide we learn how to fix paperconfig command not found error message

Introduction

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

paperconfig: command not found

or when using sudo you get the following error message

sudo: paperconfig: command not found

Solutions to paperconfig: command not found

How To Fix paperconfig: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu paperconfig is provided by libpaper-utils package.

libpaper-utils is:

The libpaper paper-handling library automates recognition of many different paper types and sizes for programs that need to deal with printed output.

This package contains utilities for setting the system’s default paper type and for accessing paper type information from shell scripts.

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

sudo apt-get -y install libpaper-utils

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

You can also use apt command to install libpaper-utils.

sudo apt -y install libpaper-utils

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

sudo aptitude install libpaper-utils

Summary

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