No such command: romove. Please use /usr/bin/yum --help

yum --help

yum -h
[root@localhost ~]# yum --help
Loaded plugins: fastestmirror
Usage: yum [options] COMMAND

List of Commands:

check          Check for problems in the rpmdb
check-update   Check for available package updates
clean          Remove cached data
deplist        List a package's dependencies
distribution-synchronization Synchronize installed packages to the latest available versions
downgrade      downgrade a package
erase          Remove a package or packages from your system
fs             Creates filesystem snapshots, or lists/deletes current snapshots.
fssnapshot     Creates filesystem snapshots, or lists/deletes current snapshots.
groups         Display, or use, the groups information
help           Display a helpful usage message

有 erase          Remove a package or packages from your system

所以,可以使用  yum erase packageName 删除

yum erase packageName

 

你可能感兴趣的:(CentOS,7,linux)