安装wine时,会一并安装15个代wine前缀的人rpm包,如果用rpm -e wine或yum remove wine两种方法进行删除的话,只会卸载wine-1.2.0-2.fc13.i686,而其余15个以wine开头的rpm包仍会留在系统里。现介绍两种删除方法:
rpm -e ·rpm -qa |grep wine· (注意不是单引号,而是键盘数字1前面的符号。)
rpm -qa |grep wine |xargs rpm -e
请看如下实例:
[root@fedora13 ~]# yum install wine
Loaded plugins: axelget, fastestmirror, presto, refresh-packagekit
Repository fedora is listed more than once in the configuration
Repository fedora-debuginfo is listed more than once in the configuration
Repository fedora-source is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository updates-debuginfo is listed more than once in the configuration
Repository updates-source is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository updates-debuginfo is listed more than once in the configuration
Repository updates-source is listed more than once in the configuration
Repository fedora is listed more than once in the configuration
Repository fedora-debuginfo is listed more than once in the configuration
Repository fedora-source is listed more than once in the configuration
No metadata available for fedora
No metadata available for rpmfusion-free
No metadata available for rpmfusion-free-updates
No metadata available for rpmfusion-nonfree
No metadata available for rpmfusion-nonfree-updates
No metadata available for rtualbox
No metadata available for updates
Finish Download MetaData of Enabled Repo
Loading mirror speeds from cached hostfile
* fedora: mirrors.sohu.com
* rpmfusion-free: mirrors.163.com
* rpmfusion-free-updates: mirrors.163.com
* rpmfusion-nonfree: mirrors.163.com
* rpmfusion-nonfree-updates: mirrors.163.com
* updates: mirrors.sohu.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package wine.i686 0:1.2.0-2.fc13 set to be installed
--> Processing Dependency: wine-core(x86-32) = 1.2.0-2.fc13 for package: wine-1.2.0-2.fc13.i686
--> Processing Dependency: wine-twain(x86-32) = 1.2.0-2.fc13 for package: wine-1.2.0-2.fc13.i686
--> Processing Dependency: wine-wow(x86-32) = 1.2.0-2.fc13 for package: wine-1.2.0-2.fc13.i686
--> Processing Dependency: wine-cms(x86-32) = 1.2.0-2.fc13 for package: wine-1.2.0-2.fc13.i686
--> Processing Dependency: wine-desktop = 1.2.0-2.fc13 for package: wine-1.2.0-2.fc13.i686
--> Processing Dependency: wine-pulseaudio(x86-32) = 1.2.0-2.fc13 for package: wine-1.2.0-2.fc13.i686
--> Processing Dependency: wine-ldap(x86-32) = 1.2.0-2.fc13 for package: wine-1.2.0-2.fc13.i686
--> Processing Dependency: wine-capi(x86-32) = 1.2.0-2.fc13 for package: wine-1.2.0-2.fc13.i686
--> Processing Dependency: wine-fonts = 1.2.0-2.fc13 for package: wine-1.2.0-2.fc13.i686
--> Running transaction check
---> Package wine-capi.i686 0:1.2.0-2.fc13 set to be installed
---> Package wine-cms.i686 0:1.2.0-2.fc13 set to be installed
---> Package wine-core.i686 0:1.2.0-2.fc13 set to be installed
--> Processing Dependency: wine-common = 1.2.0-2.fc13 for package: wine-core-1.2.0-2.fc13.i686
---> Package wine-desktop.noarch 0:1.2.0-2.fc13 set to be installed
---> Package wine-fonts.noarch 0:1.2.0-2.fc13 set to be installed
--> Processing Dependency: wine-courier-fonts = 1.2.0-2.fc13 for package: wine-fonts-1.2.0-2.fc13.noarch
--> Processing Dependency: wine-system-fonts = 1.2.0-2.fc13 for package: wine-fonts-1.2.0-2.fc13.noarch
--> Processing Dependency: wine-small-fonts = 1.2.0-2.fc13 for package: wine-fonts-1.2.0-2.fc13.noarch
--> Processing Dependency: wine-symbol-fonts = 1.2.0-2.fc13 for package: wine-fonts-1.2.0-2.fc13.noarch
--> Processing Dependency: wine-marlett-fonts = 1.2.0-2.fc13 for package: wine-fonts-1.2.0-2.fc13.noarch
---> Package wine-ldap.i686 0:1.2.0-2.fc13 set to be installed
---> Package wine-pulseaudio.i686 0:1.2.0-2.fc13 set to be installed
---> Package wine-twain.i686 0:1.2.0-2.fc13 set to be installed
---> Package wine-wow.i686 0:1.2.0-2.fc13 set to be installed
--> Running transaction check
---> Package wine-common.noarch 0:1.2.0-2.fc13 set to be installed
---> Package wine-courier-fonts.noarch 0:1.2.0-2.fc13 set to be installed
---> Package wine-marlett-fonts.noarch 0:1.2.0-2.fc13 set to be installed
---> Package wine-small-fonts.noarch 0:1.2.0-2.fc13 set to be installed
---> Package wine-symbol-fonts.noarch 0:1.2.0-2.fc13 set to be installed
---> Package wine-system-fonts.noarch 0:1.2.0-2.fc13 set to be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
wine i686 1.2.0-2.fc13 updates 30 k
Installing for dependencies:
wine-capi i686 1.2.0-2.fc13 updates 34 k
wine-cms i686 1.2.0-2.fc13 updates 48 k
wine-common noarch 1.2.0-2.fc13 updates 91 k
wine-core i686 1.2.0-2.fc13 updates 12 M
wine-courier-fonts noarch 1.2.0-2.fc13 updates 43 k
wine-desktop noarch 1.2.0-2.fc13 updates 53 k
wine-fonts noarch 1.2.0-2.fc13 updates 30 k
wine-ldap i686 1.2.0-2.fc13 updates 86 k
wine-marlett-fonts noarch 1.2.0-2.fc13 updates 42 k
wine-pulseaudio i686 1.2.0-2.fc13 updates 51 k
wine-small-fonts noarch 1.2.0-2.fc13 updates 44 k
wine-symbol-fonts noarch 1.2.0-2.fc13 updates 56 k
wine-system-fonts noarch 1.2.0-2.fc13 updates 48 k
wine-twain i686 1.2.0-2.fc13 updates 57 k
wine-wow i686 1.2.0-2.fc13 updates 206 k
Transaction Summary
================================================================================
Install 16 Package(s)
Total download size: 13 M
Installed size: 78 M
Is this ok [y/N]: y
Downloading Packages:
Package updates download size 87856 less than 300000,Skip plugin!
Package updates download size 30636 less than 300000,Skip plugin!
Package updates download size 54480 less than 300000,Skip plugin!
Package updates download size 57432 less than 300000,Skip plugin!
Package updates download size 51920 less than 300000,Skip plugin!
Package updates download size 42856 less than 300000,Skip plugin!
Package updates download size 49128 less than 300000,Skip plugin!
Package updates download size 211396 less than 300000,Skip plugin!
Package updates download size 34912 less than 300000,Skip plugin!
Package updates download size 49524 less than 300000,Skip plugin!
Package updates download size 58268 less than 300000,Skip plugin!
Package updates download size 45472 less than 300000,Skip plugin!
Package updates download size 93068 less than 300000,Skip plugin!
Package updates download size 43968 less than 300000,Skip plugin!
[15/16]Ok,we will try to use axel to download this big file:12595548
Before we start,clean all the key files
Initializing download: http://mirrors.sohu.com/fedora/updates/13/i386//wine-core-1.2.0-2.fc13.i686.rpm
File size: 12595548 bytes
Opening output file /var/cache/yum/i386/13/updates/packages/wine-core-1.2.0-2.fc13.i686.rpm
Starting download
Connection 0 finished ]
Connection 2 finished ]
Connection 4 finished ]
Connection 3 finished ]
[100%] [..................................................] [ 266.4KB/s] [00:00]
Downloaded 12.0 megabytes in 46 seconds. (266.45 KB/s)
Package updates download size 30756 less than 300000,Skip plugin!
Setting up and reading Presto delta metadata
http://mirrors.sohu.com/fedora/updates/13/i386/repodata/b8e237fb528bbb6c93cec6205fc3733232323b1461d81a964de1b97080c3c47b-prestodelta.xml.gz: [Errno 14] HTTP Error 404 : http://mirrors.sohu.com/fedora/updates/13/i386/repodata/b8e237fb528bbb6c93cec6205fc3733232323b1461d81a964de1b97080c3c47b-prestodelta.xml.gz
Trying other mirror.
updates/prestodelta | 232 kB 00:00
Processing delta metadata
Package(s) data still to download: 920 k
(1/15): wine-1.2.0-2.fc13.i686.rpm | 30 kB 00:00
(2/15): wine-capi-1.2.0-2.fc13.i686.rpm | 34 kB 00:00
(3/15): wine-cms-1.2.0-2.fc13.i686.rpm | 48 kB 00:00
(4/15): wine-common-1.2.0-2.fc13.noarch.rpm | 91 kB 00:00
(5/15): wine-courier-fonts-1.2.0-2.fc13.noarch.rpm | 43 kB 00:00
(6/15): wine-desktop-1.2.0-2.fc13.noarch.rpm | 53 kB 00:00
(7/15): wine-fonts-1.2.0-2.fc13.noarch.rpm | 30 kB 00:00
(8/15): wine-ldap-1.2.0-2.fc13.i686.rpm | 86 kB 00:00
(9/15): wine-marlett-fonts-1.2.0-2.fc13.noarch.rpm | 42 kB 00:00
(10/15): wine-pulseaudio-1.2.0-2.fc13.i686.rpm | 51 kB 00:00
(11/15): wine-small-fonts-1.2.0-2.fc13.noarch.rpm | 44 kB 00:00
(12/15): wine-symbol-fonts-1.2.0-2.fc13.noarch.rpm | 56 kB 00:00
(13/15): wine-system-fonts-1.2.0-2.fc13.noarch.rpm | 48 kB 00:00
(14/15): wine-twain-1.2.0-2.fc13.i686.rpm | 57 kB 00:00
(15/15): wine-wow-1.2.0-2.fc13.i686.rpm | 206 kB 00:00
--------------------------------------------------------------------------------
Total 170 kB/s | 920 kB 00:05
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : wine-core-1.2.0-2.fc13.i686 1/16
Installing : wine-common-1.2.0-2.fc13.noarch 2/16
Installing : wine-desktop-1.2.0-2.fc13.noarch 3/16
Installing : wine-courier-fonts-1.2.0-2.fc13.noarch 4/16
Installing : wine-small-fonts-1.2.0-2.fc13.noarch 5/16
Installing : wine-system-fonts-1.2.0-2.fc13.noarch 6/16
Installing : wine-marlett-fonts-1.2.0-2.fc13.noarch 7/16
Installing : wine-symbol-fonts-1.2.0-2.fc13.noarch 8/16
Installing : wine-ldap-1.2.0-2.fc13.i686 9/16
Installing : wine-pulseaudio-1.2.0-2.fc13.i686 10/16
Installing : wine-cms-1.2.0-2.fc13.i686 11/16
Installing : wine-wow-1.2.0-2.fc13.i686 12/16
Installing : wine-capi-1.2.0-2.fc13.i686 13/16
Installing : wine-twain-1.2.0-2.fc13.i686 14/16
Installing : wine-fonts-1.2.0-2.fc13.noarch 15/16
Installing : wine-1.2.0-2.fc13.i686 16/16
Installed:
wine.i686 0:1.2.0-2.fc13
Dependency Installed:
wine-capi.i686 0:1.2.0-2.fc13
wine-cms.i686 0:1.2.0-2.fc13
wine-common.noarch 0:1.2.0-2.fc13
wine-core.i686 0:1.2.0-2.fc13
wine-courier-fonts.noarch 0:1.2.0-2.fc13
wine-desktop.noarch 0:1.2.0-2.fc13
wine-fonts.noarch 0:1.2.0-2.fc13
wine-ldap.i686 0:1.2.0-2.fc13
wine-marlett-fonts.noarch 0:1.2.0-2.fc13
wine-pulseaudio.i686 0:1.2.0-2.fc13
wine-small-fonts.noarch 0:1.2.0-2.fc13
wine-symbol-fonts.noarch 0:1.2.0-2.fc13
wine-system-fonts.noarch 0:1.2.0-2.fc13
wine-twain.i686 0:1.2.0-2.fc13
wine-wow.i686 0:1.2.0-2.fc13
Complete!
[root@fedora13 ~]# rpm -e `rpm -qa |grep wine`
[root@fedora13 ~]# rpm -qa |grep wine
[root@fedora13 ~]# yum install wine
Loaded plugins: axelget, fastestmirror, presto, refresh-packagekit
Repository fedora is listed more than once in the configuration
Repository fedora-debuginfo is listed more than once in the configuration
Repository fedora-source is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository updates-debuginfo is listed more than once in the configuration
Repository updates-source is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository updates-debuginfo is listed more than once in the configuration
Repository updates-source is listed more than once in the configuration
Repository fedora is listed more than once in the configuration
Repository fedora-debuginfo is listed more than once in the configuration
Repository fedora-source is listed more than once in the configuration
No metadata available for fedora
No metadata available for rpmfusion-free
No metadata available for rpmfusion-free-updates
No metadata available for rpmfusion-nonfree
No metadata available for rpmfusion-nonfree-updates
No metadata available for rtualbox
No metadata available for updates
Finish Download MetaData of Enabled Repo
Loading mirror speeds from cached hostfile
* fedora: mirrors.sohu.com
* rpmfusion-free: mirrors.163.com
* rpmfusion-free-updates: mirrors.163.com
* rpmfusion-nonfree: mirrors.163.com
* rpmfusion-nonfree-updates: mirrors.163.com
* updates: mirrors.sohu.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package wine.i686 0:1.2.0-2.fc13 set to be installed
--> Processing Dependency: wine-core(x86-32) = 1.2.0-2.fc13 for package: wine-1.2.0-2.fc13.i686
--> Processing Dependency: wine-twain(x86-32) = 1.2.0-2.fc13 for package: wine-1.2.0-2.fc13.i686
--> Processing Dependency: wine-wow(x86-32) = 1.2.0-2.fc13 for package: wine-1.2.0-2.fc13.i686
--> Processing Dependency: wine-cms(x86-32) = 1.2.0-2.fc13 for package: wine-1.2.0-2.fc13.i686
--> Processing Dependency: wine-desktop = 1.2.0-2.fc13 for package: wine-1.2.0-2.fc13.i686
--> Processing Dependency: wine-pulseaudio(x86-32) = 1.2.0-2.fc13 for package: wine-1.2.0-2.fc13.i686
--> Processing Dependency: wine-ldap(x86-32) = 1.2.0-2.fc13 for package: wine-1.2.0-2.fc13.i686
--> Processing Dependency: wine-capi(x86-32) = 1.2.0-2.fc13 for package: wine-1.2.0-2.fc13.i686
--> Processing Dependency: wine-fonts = 1.2.0-2.fc13 for package: wine-1.2.0-2.fc13.i686
--> Running transaction check
---> Package wine-capi.i686 0:1.2.0-2.fc13 set to be installed
---> Package wine-cms.i686 0:1.2.0-2.fc13 set to be installed
---> Package wine-core.i686 0:1.2.0-2.fc13 set to be installed
--> Processing Dependency: wine-common = 1.2.0-2.fc13 for package: wine-core-1.2.0-2.fc13.i686
---> Package wine-desktop.noarch 0:1.2.0-2.fc13 set to be installed
---> Package wine-fonts.noarch 0:1.2.0-2.fc13 set to be installed
--> Processing Dependency: wine-courier-fonts = 1.2.0-2.fc13 for package: wine-fonts-1.2.0-2.fc13.noarch
--> Processing Dependency: wine-system-fonts = 1.2.0-2.fc13 for package: wine-fonts-1.2.0-2.fc13.noarch
--> Processing Dependency: wine-small-fonts = 1.2.0-2.fc13 for package: wine-fonts-1.2.0-2.fc13.noarch
--> Processing Dependency: wine-symbol-fonts = 1.2.0-2.fc13 for package: wine-fonts-1.2.0-2.fc13.noarch
--> Processing Dependency: wine-marlett-fonts = 1.2.0-2.fc13 for package: wine-fonts-1.2.0-2.fc13.noarch
---> Package wine-ldap.i686 0:1.2.0-2.fc13 set to be installed
---> Package wine-pulseaudio.i686 0:1.2.0-2.fc13 set to be installed
---> Package wine-twain.i686 0:1.2.0-2.fc13 set to be installed
---> Package wine-wow.i686 0:1.2.0-2.fc13 set to be installed
--> Running transaction check
---> Package wine-common.noarch 0:1.2.0-2.fc13 set to be installed
---> Package wine-courier-fonts.noarch 0:1.2.0-2.fc13 set to be installed
---> Package wine-marlett-fonts.noarch 0:1.2.0-2.fc13 set to be installed
---> Package wine-small-fonts.noarch 0:1.2.0-2.fc13 set to be installed
---> Package wine-symbol-fonts.noarch 0:1.2.0-2.fc13 set to be installed
---> Package wine-system-fonts.noarch 0:1.2.0-2.fc13 set to be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
wine i686 1.2.0-2.fc13 updates 30 k
Installing for dependencies:
wine-capi i686 1.2.0-2.fc13 updates 34 k
wine-cms i686 1.2.0-2.fc13 updates 48 k
wine-common noarch 1.2.0-2.fc13 updates 91 k
wine-core i686 1.2.0-2.fc13 updates 12 M
wine-courier-fonts noarch 1.2.0-2.fc13 updates 43 k
wine-desktop noarch 1.2.0-2.fc13 updates 53 k
wine-fonts noarch 1.2.0-2.fc13 updates 30 k
wine-ldap i686 1.2.0-2.fc13 updates 86 k
wine-marlett-fonts noarch 1.2.0-2.fc13 updates 42 k
wine-pulseaudio i686 1.2.0-2.fc13 updates 51 k
wine-small-fonts noarch 1.2.0-2.fc13 updates 44 k
wine-symbol-fonts noarch 1.2.0-2.fc13 updates 56 k
wine-system-fonts noarch 1.2.0-2.fc13 updates 48 k
wine-twain i686 1.2.0-2.fc13 updates 57 k
wine-wow i686 1.2.0-2.fc13 updates 206 k
Transaction Summary
================================================================================
Install 16 Package(s)
Total download size: 13 M
Installed size: 78 M
Is this ok [y/N]: y
Downloading Packages:
Package updates download size 87856 less than 300000,Skip plugin!
Package updates download size 30636 less than 300000,Skip plugin!
Package updates download size 54480 less than 300000,Skip plugin!
Package updates download size 57432 less than 300000,Skip plugin!
Package updates download size 51920 less than 300000,Skip plugin!
Package updates download size 42856 less than 300000,Skip plugin!
Package updates download size 49128 less than 300000,Skip plugin!
Package updates download size 211396 less than 300000,Skip plugin!
Package updates download size 34912 less than 300000,Skip plugin!
Package updates download size 49524 less than 300000,Skip plugin!
Package updates download size 58268 less than 300000,Skip plugin!
Package updates download size 45472 less than 300000,Skip plugin!
Package updates download size 93068 less than 300000,Skip plugin!
Package updates download size 43968 less than 300000,Skip plugin!
[15/16]Ok,we will try to use axel to download this big file:12595548
Before we start,clean all the key files
Initializing download: http://mirrors.sohu.com/fedora/updates/13/i386//wine-core-1.2.0-2.fc13.i686.rpm
File size: 12595548 bytes
Opening output file /var/cache/yum/i386/13/updates/packages/wine-core-1.2.0-2.fc13.i686.rpm
Starting download
Connection 0 finished ]
Connection 2 finished ]
Connection 3 finished ]
Connection 1 finished ]
[100%] [..................................................] [ 461.3KB/s] [00:00]
Downloaded 12.0 megabytes in 26 seconds. (461.34 KB/s)
Package updates download size 30756 less than 300000,Skip plugin!
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 920 k
(1/15): wine-1.2.0-2.fc13.i686.rpm | 30 kB 00:00
(2/15): wine-capi-1.2.0-2.fc13.i686.rpm | 34 kB 00:00
(3/15): wine-cms-1.2.0-2.fc13.i686.rpm | 48 kB 00:00
(4/15): wine-common-1.2.0-2.fc13.noarch.rpm | 91 kB 00:00
(5/15): wine-courier-fonts-1.2.0-2.fc13.noarch.rpm | 43 kB 00:00
(6/15): wine-desktop-1.2.0-2.fc13.noarch.rpm | 53 kB 00:00
(7/15): wine-fonts-1.2.0-2.fc13.noarch.rpm | 30 kB 00:00
(8/15): wine-ldap-1.2.0-2.fc13.i686.rpm | 86 kB 00:00
(9/15): wine-marlett-fonts-1.2.0-2.fc13.noarch.rpm | 42 kB 00:00
(10/15): wine-pulseaudio-1.2.0-2.fc13.i686.rpm | 51 kB 00:00
(11/15): wine-small-fonts-1.2.0-2.fc13.noarch.rpm | 44 kB 00:00
(12/15): wine-symbol-fonts-1.2.0-2.fc13.noarch.rpm | 56 kB 00:00
(13/15): wine-system-fonts-1.2.0-2.fc13.noarch.rpm | 48 kB 00:00
(14/15): wine-twain-1.2.0-2.fc13.i686.rpm | 57 kB 00:00
(15/15): wine-wow-1.2.0-2.fc13.i686.rpm | 206 kB 00:00
--------------------------------------------------------------------------------
Total 361 kB/s | 920 kB 00:02
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : wine-core-1.2.0-2.fc13.i686 1/16
Installing : wine-common-1.2.0-2.fc13.noarch 2/16
Installing : wine-desktop-1.2.0-2.fc13.noarch 3/16
Installing : wine-courier-fonts-1.2.0-2.fc13.noarch 4/16
Installing : wine-small-fonts-1.2.0-2.fc13.noarch 5/16
Installing : wine-system-fonts-1.2.0-2.fc13.noarch 6/16
Installing : wine-marlett-fonts-1.2.0-2.fc13.noarch 7/16
Installing : wine-symbol-fonts-1.2.0-2.fc13.noarch 8/16
Installing : wine-ldap-1.2.0-2.fc13.i686 9/16
Installing : wine-pulseaudio-1.2.0-2.fc13.i686 10/16
Installing : wine-cms-1.2.0-2.fc13.i686 11/16
Installing : wine-wow-1.2.0-2.fc13.i686 12/16
Installing : wine-capi-1.2.0-2.fc13.i686 13/16
Installing : wine-twain-1.2.0-2.fc13.i686 14/16
Installing : wine-fonts-1.2.0-2.fc13.noarch 15/16
Installing : wine-1.2.0-2.fc13.i686 16/16
Installed:
wine.i686 0:1.2.0-2.fc13
Dependency Installed:
wine-capi.i686 0:1.2.0-2.fc13
wine-cms.i686 0:1.2.0-2.fc13
wine-common.noarch 0:1.2.0-2.fc13
wine-core.i686 0:1.2.0-2.fc13
wine-courier-fonts.noarch 0:1.2.0-2.fc13
wine-desktop.noarch 0:1.2.0-2.fc13
wine-fonts.noarch 0:1.2.0-2.fc13
wine-ldap.i686 0:1.2.0-2.fc13
wine-marlett-fonts.noarch 0:1.2.0-2.fc13
wine-pulseaudio.i686 0:1.2.0-2.fc13
wine-small-fonts.noarch 0:1.2.0-2.fc13
wine-symbol-fonts.noarch 0:1.2.0-2.fc13
wine-system-fonts.noarch 0:1.2.0-2.fc13
wine-twain.i686 0:1.2.0-2.fc13
wine-wow.i686 0:1.2.0-2.fc13
Complete!
[root@fedora13 ~]# rpm -qa |grep wine |xargs rpm -e
[root@fedora13 ~]# rpm -qa |grep wine
[root@fedora13 ~]#
转载于:https://blog.51cto.com/wuhaoshu/386979