您的位置:首页 > 其它

ubuntu中提示找到make命令的解决方案

2011-12-22 20:31 471 查看
今天遇到一ubuntu,别人刚装的,我下载了ncftp,准备从其它地方把文件搬过来,把 ncftp下载回来解压缩,照原来的安装方式进行安装,执行:

make install

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

进行GOOGLE,基本上没有人碰到我这样的情况,找不到相应的答案,最终求助高手,通过以下的方式进行搞定:

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

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

sudo apt-cdrom add

sudo apt-get update

sudo apt-get install build-essential

就可以搞定了。

本文出自:冯立彬的博客
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: