prerex command not found

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

Introduction

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

prerex: command not found

or when using sudo you get the following error message

sudo: prerex: command not found

Solutions to prerex: command not found

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

In Ubuntu prerex is provided by prerex package.

prerex is:

prerex is an editor for creating esthetically pleasing course prerequisite charts using the TikZ LaTeX package.

The editor supports add, remove, cut-and-paste, and edit operations on diagram elements, and shifts of a list of specified elements or the entire diagram. The edited diagram may be saved, re-processed, and viewed in a PDF viewer, without exiting the editor.

Course prerequisite charts allow students to easily determine which prerequisites, corequisites and recommended prerequisites they need for a given course and their time slots. Course prerequisite charts also highlight the courses required by a degree.

prerex is used by departments in several universities, including Queen’s University and Suffolk University.

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

sudo apt-get -y install prerex

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

You can also use apt command to install prerex.

sudo apt -y install prerex

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

sudo aptitude install prerex

Summary

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