most command not found

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

Introduction

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

most: command not found

or when using sudo you get the following error message

sudo: most: command not found

Solutions to most: command not found

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

In Ubuntu most is provided by most package.

most is:

Most is a paging program that displays, one windowful at a time, the contents of a file on a terminal. A status line at the bottom of the screen displays the file name, the current line number and the percentage of the file so far displayed.

Unlike other paging programs, most is capable of displaying an arbitrary number of windows as long as they all fit on the screen, and different windows could be used to view the same file in different positions.

In addition to displaying ordinary text files, most can also display binary files as well as files with arbitrary ascii characters.

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

sudo apt-get -y install most

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

You can also use apt command to install most.

sudo apt -y install most

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

sudo aptitude install most

Summary

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