如何在centOS上 apt-get install build-essential

非 Y 不嫁゛ 提交于 2019-12-04 12:05:04

https://access.redhat.com/solutions/1310043

使用命令 yum group list 可以查看已经安装的套件和可以安装的套件,
试一下

yum groups mark install "Development Tools"
yum groups mark install "Development Tools"
yum groups mark convert "Development Tools"
yum groupinstall "Development Tools"

实在不行就使用yum group info 'Development Tools'
挨个安装

安装后可以使用yum group list 查看

[root@localhost sharefolder]# yum group list
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: ftp.sjtu.edu.cn
 * epel: mirrors.aliyun.com
 * extras: ftp.sjtu.edu.cn
 * remi-safe: mirror.innosol.asia
 * updates: mirrors.aliyun.com
Installed Environment Groups:
   GNOME Desktop
Available Environment Groups:
   Minimal Install
   Compute Node
   Infrastructure Server
   File and Print Server
   Cinnamon Desktop
   MATE Desktop
   Basic Web Server
   Virtualization Host
   Server with GUI
   KDE Plasma Workspaces
   Development and Creative Workstation
Installed Groups:
   Development Tools
   Graphical Administration Tools
Available Groups:
   Cinnamon
   Compatibility Libraries
   Console Internet Tools
   Educational Software
   Electronic Lab
   Fedora Packager
   General Purpose Desktop
   Haskell
   Legacy UNIX Compatibility
   MATE
   Milkymist
   Scientific Support
   Security Tools
   Smart Card Support
   System Administration Tools
   System Management
   TurboGears application framework
   Xfce
Done
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!