CentOS7 使用yum命令安装gcc/g++, gdb, vim, git, lrzsz

查看所有已经安装的软件包
yum list installed
筛选查看已经安装软件包
yum list installed |grep vim	
yum list installed |grep gcc
yum list installed |grep gdb
yum list installed |grep git
yum list installed |grep lrzsz
查看能安装哪些软件包(可查看到软件包具体名)
yum list |grep vim
yum list |grep gdb
yum list |grep git
yum list |grep lrzsz
yum list |grep gcc
安装命令(yum install 包名,可用具体名安装特定软件包)
yum install vim
yum install gcc
yum install gdb
yum install git
yum install lrzsz

你可能感兴趣的:(操作系统,CentOS,yum)