fedora完全卸载软件

sudo dnf erase <package_name>
sudo dnf autoremove
sudo rm -rf /etc/<package_name>
sudo rm -rf /var/lib/<package_name>
sudo rm -rf /usr/share/<package_name>
sudo dnf clean all

你可能感兴趣的:(服务器,linux,运维)