找不到“制作”命令

Har*_*rma 9 apt make

我在尝试使用make命令时遇到问题。

我无法运行 Make 命令。

信息: bash: make: command not found

当我使用

sudo apt-get remove make
sudo apt-get install make
Run Code Online (Sandbox Code Playgroud)

或与

sudo apt-get install --reinstall make
Run Code Online (Sandbox Code Playgroud)

表明

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package make is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'make' has no installation candidate
Run Code Online (Sandbox Code Playgroud)

Vid*_*uth 14

重新安装build-essential软件包:

sudo apt-get install --reinstall build-essential
Run Code Online (Sandbox Code Playgroud)

这应该解决它。