正在下载“Yum groupinstall“开发工具””?
我仔细查看了所有内容,发现构建必需品已被开发工具所取代。当我输入命令时,我收到“没有这样的命令”。
有什么替代方案吗?
I've looked all over and build essentials are all I see that was replaced by Development tools. When I type the command I receive "no such command".
What is the alternative to this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
apt-get build-dep package-i-want-to-build
获取构建package
所需的一切 - 通常获取开发工具的最简单方法是选择一个足够复杂的包,比如 pidgin 并运行它或
apt-get install build-essential 来获取编译器
apt-get build-dep package-i-want-to-build
to get everything you need to buildpackage
- often the easiest way to get the dev tools is to pick a sufficiently complicated package like pidgin and run thisor
apt-get install build-essential
to just get a compilerUbuntu 不使用 yum。您仍然想使用 apt 指令。
Ubuntu doesn't use yum. You still want to use the apt instructions.
Debian、Ubuntu、Mint 等有 APT 包管理器,而不是 YUM。在这些操作系统中,您通常需要执行以下操作来安装基本开发工具,例如 C 和 C++ 编译器、binutils 等:
Debian, Ubuntu, Mint, etc. have APT package manager, not YUM. In these OSes you generally need to do following to install basic development tools, like C and C++ compilers, binutils, etc: