Linux下卸载命令
在Linux中卸载软件的常用命令包括:
-
apt-get remove
(Debian和Ubuntu等基于Debian的发行版) -
yum remove
(Fedora和CentOS等基于Red Hat的发行版) -
dnf remove
(Fedora 22及更新版本) -
zypper remove
(openSUSE) -
pacman -R
(Arch Linux) -
dpkg --remove
(Debian和Ubuntu等基于Debian的发行版) -
rpm -e
(Red Hat和CentOS等基于Red Hat的发行版) -
snap remove
(Snap包管理器)对于基于APT的系统(如Debian、Ubuntu及其衍生版),可以使用以下命令卸载软件包并清除配置文件:
sudo apt-get autoremove --purge 软件包名
(同时清除配置文件)sudo apt-get remove 软件包名
(仅卸载软件)