su-to-root command not found

In this troubleshooting guide we learn how to fix su-to-root command not found error message

Introduction

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

su-to-root: command not found

or when using sudo you get the following error message

sudo: su-to-root: command not found

Solutions to su-to-root: command not found

How To Fix su-to-root: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu su-to-root is provided by menu package.

menu is:

Debian menu keeps transparently the menus in the different window-managers in sync with the list of installed programs.

Debian menu relies on a list of menu entries provided by programs and a list of menu-methods provided by window-managers and other menu-aware applications.

Menu provides system-level and user-level configuration and overrides for both menu entries and menu-methods.

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

sudo apt-get -y install menu

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

You can also use apt command to install menu.

sudo apt -y install menu

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

sudo aptitude install menu

Summary

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