Solution: 1. Use the "sudo apt update" command to update the local software package cache; 2. Use the "sudo apt install make" command to install the make tool package; 3. After downloading and installing the make package, you can Use the "make --version" command to verify correct installation.
#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
When trying to use the make command, it throws an error to me:
This indicates that the make command is not installed yet.
1. You can use these commands to install make step by step:
sudo apt update sudo apt install make
The first command is to update the local package cache. This is necessary if it is a newly installed Ubuntu system. With a refreshed package cache, your system will know which repository it should download the make package from.
2. And verify whether make has been installed correctly:
make --version
Extended knowledge:
A better way to install make on Ubuntu
A better way to install the make command is to use the build-essential package. This package contains make, gcc, g, and several other compilers and development tools.
sudo apt install build-essential
Recommended learning: Linux video tutorial
The above is the detailed content of How to solve the problem that the linux make command cannot be found. For more information, please follow other related articles on the PHP Chinese website!