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

Posted My_Jin

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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

 

以上是关于Debian/Ubuntu下关于编译环境 make cmake 等的安装的主要内容,如果未能解决你的问题,请参考以下文章

如何从源代码构建 Debian/Ubuntu 软件包?

make--打造专业的编译环境

CDH环境下关于Hive的部分命令

在 Debian 上的 SQL Server 的安裝指引

Linux环境下关于权限的一些小问题

SpringMVC环境下关于DispatcherServlet的错误