以安装Git为例: yum安装git: yum -y intall git 查看git安装软件路径: rpm -ql git yum删除git: yum -y remove git 命令执行之后,会出现下图