ratmenu command not found

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

Introduction

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

ratmenu: command not found

or when using sudo you get the following error message

sudo: ratmenu: command not found

Solutions to ratmenu: command not found

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

In Ubuntu ratmenu is provided by ratmenu package.

ratmenu is:

This is ratmenu, a simple program that allows you to create X menus from the shell. Although designed for ratpoison, it will work with any ICCCM compliant window manager.

It was forked from 9menu version 1.5, to provide specific support for the ratpoison window manager. Where 9menu only responds to the mouse, and ignores the keyboard, ratmenu has all mouse sensitivity taken out, and only responds to the keyboard. Since then it has evolved nifty features and behaviors of its own. The source code was also cleaned up and old cruft weeded out.

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

sudo apt-get -y install ratmenu

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

You can also use apt command to install ratmenu.

sudo apt -y install ratmenu

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

sudo aptitude install ratmenu

Summary

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