语法:# zypper remove 示例:移除Mozilla Firefox
[root@linuxprobe ~]# zypper remove MozillaFirefox
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following packages are going to be REMOVED:
MozillaFirefox MozillaFirefox-branding-SLED
2 packages to remove.
After the operation, 3.4 MiB will be freed.
Continue? [y/n/?] (y): y
Removing MozillaFirefox-branding-SLED-3.5-1.1.5 [done]
Removing MozillaFirefox-3.6.16-0.2.1 [done]
5. 查找包
语法:# zypper search 示例:查找所有usb开头的软件包
[root@linuxprobe ~]# zypper search usb*
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+---------------------+----------------------------------------------------------------+--------
| usb_modeswitch | A mode switching tool for controlling multiple-device USB gear | package
| usb_modeswitch-data | A mode switching tool for controlling multiple-device USB gear | package
| usbip-devel | Headers and static libraries | package
i | usbutils | Tools and libraries for USB devices | package
6. 查看软件包详情
语法: zypper info 示例:查看usbutils的信息
[root@linuxprobe ~]# zypper info usbutils
Loading repository data...
Reading installed packages...
Information for package usbutils:
Repository: LINUXPROBE
Name: usbutils
Version: 0.73-38.19
Arch: x86_64
Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Support Level: unknown
Installed: Yes
Status: up-to-date
Installed Size: 461.0 KiB
Summary: Tools and libraries for USB devices
Description:
This package contains a utility for inspecting devices connected to USB
ports.
It requires kernel version 2.3.99-pre7 or newer, or the USB backport
which was introduced in 2.2.18 (supporting the /proc/bus/usb
interface).
7. 打补丁
查看所有可打补丁: zypper patches
安装指定补丁:zypper patch
8. 锁住包
软件包被