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:
Additional on, test if you’ll be able to execute the command with its absolute path:
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
Then, set up the make command:
sudo apt-get set up -y make
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
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.
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.
Get your Linux server back up and running in minutes with these smart troubleshooting tips.
About The Creator
https://www.makeuseof.com/how-to-fix-make-command-not-found-error-ubuntu/ | command not discovered” Error in Ubuntu