CentOS 命令工具安装

lizhengfa 2020-06-06

安装net-tools工具包,ifconfig,netstat,whois等命令都来源于这个包。

yum install net-tools

使用组安装包,一次性安装所有开发者工具

1、查看有那些组安装包可用。

yum grouplist | more
显示结果:Last metadata expiration check: 0:24:41 ago on Sat 06 Jun 2020 12:41:01 AM UTC.
Available Environment Groups:
   Server with GUI
   Server
   Minimal Install
   Workstation
   Virtualization Host
   Custom Operating System
Installed Groups:
   Development Tools
Available Groups:
   Container Management
   .NET Core Development
   RPM Development Tools
   Graphical Administration Tools
   Headless Management
   Legacy UNIX Compatibility
   Network Servers
   Scientific Support
   Security Tools
   Smart Card Support
   System Tools

2、搜索一下有哪些和 Development 有关。

yum grouplist | grep Development
显示结果:  Development Tools
   .NET Core Development
   RPM Development Tools

3、我们需要的就是Development Tools这个包。

yum groupinstall -y "Development Tools"

相关推荐