红联Linux门户
Linux帮助

Debian/Ubuntu下关于编译环境make cmake等的安装

发布时间:2016-03-07 16:10:13来源:linux网站作者:my-jin

提示找不到make命令:

The program 'make' is currently not installed.  You can install it by typing:
apt-get install make


我尝试apt-get install make进行安装,可是提示:

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


尝试通过关键词:

The program 'make' is currently not installed

及:

Package make is not available, but is referred to by another package


最后通过载入光盘文件搞定。

1、先放入Debian/UBUNTU安装盘到光盘中;

2、再按顺序执行以下的命令:

sudo apt-cdrom add

sudo apt-get update

sudo apt-get install build-essential libtool


本文永久更新地址:http://www.linuxdiyf.com/linux/18698.html