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

提示找不到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

 

posted @ 2016-03-07 11:12  My_Jin  阅读(12162)  评论(0编辑  收藏  举报