一、卸载软件 先查询软件rpm -qa | grep *** 卸载软件rpm -e PackageName 二、安装软件 buildrpmbuild -ba *.spec 安装rpm -ivvh *.rpm