ext2sim command not found

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

Introduction

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

ext2sim: command not found

or when using sudo you get the following error message

sudo: ext2sim: command not found

Solutions to ext2sim: command not found

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

In Ubuntu ext2sim is provided by magic package.

magic is:

Magic is a venerable VLSI layout tool, written in the 1980’s at Berkeley by John Ousterhout, now famous primarily for writing the scripting interpreter language Tcl. Due largely in part to its liberal Berkeley open-source license, magic has remained popular with universities and small companies. The open-source license has allowed VLSI engineers with a bent toward programming to implement clever ideas and help magic stay abreast of fabrication technology. However, it is the well thought-out core algorithms which lend to magic the greatest part of its popularity. Magic is widely cited as being the easiest tool to use for circuit layout, even for people who ultimately rely on commercial tools for their product design flow.

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

sudo apt-get -y install magic

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

You can also use apt command to install magic.

sudo apt -y install magic

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

sudo aptitude install magic

Summary

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