cereal-admin command not found

In this troubleshooting guide we learn how to fix cereal-admin command not found error message

Introduction

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

cereal-admin: command not found

or when using sudo you get the following error message

sudo: cereal-admin: command not found

Solutions to cereal-admin: command not found

How To Fix cereal-admin: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cereal-admin is provided by cereal package.

cereal is:

cereal provides a framework to easily set up and maintain automated, timestamped logs of serial lines, while simultaneously allowing end user access to them. This is probably most useful for providing automated, logged access to remote serial consoles.

cereal can control an arbitrary number of independently monitored and logged lines. Direct access to the monitored lines is allowed only to a specific user (who doesn’t necessarily otherwise have access to the direct serial line), but logs can be made available to any group. Logs are rotated automatically and their total space can be limited in size.

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

sudo apt-get -y install cereal

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

You can also use apt command to install cereal.

sudo apt -y install cereal

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

sudo aptitude install cereal

Summary

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