Tech

command not found” Error in Ubuntu

Need to construct a package deal however caught with the “make: command not discovered” error in Ubuntu? Here is how one can do away with the error for good.

The make command might be one of the vital broadly used instructions within the Linux ecosystem. This command is used to construct and compile applications straight from the supply code.

You may, as a Linux consumer, use the make command to compile utilities, and set up them utilizing the command line. However typically, the system throws the error “make: command not discovered” whereas customers attempt to construct a package deal utilizing make.

By the tip, you should have a short understanding of the way to repair the “make: command not discovered” error in Linux.

Repair the “make: command not discovered” Error

Whereas make is likely one of the commonplace Linux packages that come preinstalled in most Linux distros, typically it is not accessible on a system. On this case, each time the consumer tries to construct a package deal utilizing make, the system throws the command not discovered error.

Earlier than fixing the error, first, it’s good to confirm if make is put in in your system. To take action, use the ls function to test the content material of the /usr/bin/make listing:

ls /usr/bin/make

Additional on, test if you’ll be able to execute the command with its absolute path:

/usr/bin/make --version

The aforementioned command will show the model of make put in in your system.

If the above strategies do not work and show an error, then your system would not have make put in. In such conditions, putting in the make command solves the issue.

However first, replace your system’s repository record utilizing APT:

sudo apt-get replace

Output:

Update Linux system

Then, set up the make command:

sudo apt-get set up -y make

Output:

Install make command Linux

If the aforementioned instructions do not work, you may set up make by downloading the build-essential package deal, as follows:

sudo apt set up build-essential

Output:

sudo apt build-essential linux

The build-essential package deal consists of all the mandatory packages associated to package deal constructing and compilation. The make command is part of these packages.

Associated: Why You Should Update Linux Package Repositories Before Installing New Software

Troubleshooting Errors in Linux

The make command is a necessary compiler device in Linux. The errors supplied by the system are normally self-descriptive, and skilled customers can determine the answer by wanting on the error assertion.

Along with native workstations, Linux-based servers additionally throw such errors. You may repair most points by performing a primary audit on the server.


A laptop with coding
Fix Linux Server Issues With These 5 Troubleshooting Steps

Get your Linux server back up and running in minutes with these smart troubleshooting tips.

Read Next


About The Creator

https://www.makeuseof.com/how-to-fix-make-command-not-found-error-ubuntu/ | command not discovered” Error in Ubuntu

Sportset

Inter Reviewed is an automatic aggregator of the all world’s media. In each content, the hyperlink to the primary source is specified. All trademarks belong to their rightful owners, all materials to their authors. If you are the owner of the content and do not want us to publish your materials, please contact us by email – admin@interreviewed.com. The content will be deleted within 24 hours.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

11 − one =

Back to top button