mypager command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mypager: command not found
or when using sudo you get the following error message
sudo: mypager: command not found
Solutions to mypager: command not found
How To Fix mypager: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mypager is provided by mypager package.
mypager is:
Userfriendly pager that will add color to query results of MySQL or PostgreSQL command line clients. It will also automatically use less when terminal isn’t able to display the full result in one page.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mypager
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mypager.
sudo apt -y install mypager
Or if you have aptitude installed you can use the following command.
sudo aptitude install mypager
Summary
In this tutorial we learn how to fix mypager command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.