smenu command not found

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

Introduction

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

smenu: command not found

or when using sudo you get the following error message

sudo: smenu: command not found

Solutions to smenu: command not found

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

In Ubuntu smenu is provided by smenu package.

smenu is:

smenu is a command-line utility that allows you to use words coming from the standard input to create a nice selection window just below the cursor. Your selection will then be sent to standard output.

You can use it to create interactive menus in scripts, for instance.

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

sudo apt-get -y install smenu

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

You can also use apt command to install smenu.

sudo apt -y install smenu

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

sudo aptitude install smenu

Summary

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