码迷,mamicode.com
首页 > 系统相关 > 详细

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

时间:2016-03-07 11:59:25      阅读:283      评论:0      收藏:0      [点我收藏+]

标签:

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

 

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

标签:

原文地址:http://www.cnblogs.com/my-jin/p/5249821.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!