mes-gcc-static command not found

In this troubleshooting guide we learn how to fix mes-gcc-static command not found error message

Introduction

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

mes-gcc-static: command not found

or when using sudo you get the following error message

sudo: mes-gcc-static: command not found

Solutions to mes-gcc-static: command not found

How To Fix mes-gcc-static: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mes-gcc-static is provided by mes package.

mes is:

GNU Mes aims to help create a full source bootstrap as part of the bootstrappable builds effort. It consists of a mutual self-hosting Scheme interpreter written in C and a Nyacc-based C compiler written in Scheme.

Mes and MesCC can compile a lightly patched TinyCC that is self-hosting.

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

sudo apt-get -y install mes

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

You can also use apt command to install mes.

sudo apt -y install mes

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

sudo aptitude install mes

Summary

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