rmagic command not found

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

Introduction

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

rmagic: command not found

or when using sudo you get the following error message

sudo: rmagic: command not found

Solutions to rmagic: command not found

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

In Ubuntu rmagic is provided by rmagic package.

rmagic is:

With Report Magic for Analog, anyone can create great looking website statistics reports. Report Magic for Analog uses the Computer Readable Output format created by Analog, the most popular logfile analyser in the world. Using this and some simple settings you provide, Report Magic formats beautiful reports with tables, descriptions and graphs.

Using Report Magic for Analog, you can easily maintain a consistent company image with all your reports. By designing the report format to mimic your site’s colors and graphics, you can have Analog’s statistics reports seem to “fit-in” with the rest of your website. Report Magic for Analog lets you set things like font, foreground and background colors, background images, color themes, and more, thus ensuring a perfect fit with your already designed site.

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

sudo apt-get -y install rmagic

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

You can also use apt command to install rmagic.

sudo apt -y install rmagic

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

sudo aptitude install rmagic

Summary

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