如果需要列出相关联的软件包,可以执行以下这个命令。下面的例子是列出和 “file_server” 组相关联的软件包。另外 zypper 还允许用户使用不同的选项执行相同的操作。
# zypper info file_server Loading repository data... Warning: Repository 'Update Repository (Non-Oss)' appears to be outdated. Consider using a different mirror or server. Warning: Repository 'Main Update Repository' appears to be outdated. Consider using a different mirror or server. Reading installed packages... -
Information for pattern file_server: ------------------------------------ Repository : Main Repository (OSS) Name : file_server Version : 20150918-25.1 Arch : x86_64 Vendor : openSUSE Installed : No Visible to User : Yes Summary : File Server Description : File services to host files so that they may be accessed or retrieved by other computers on the same network. This includes the FTP, SMB, and NFS protocols. Contents : S | Name | Type | Dependency ---|-------------------------------|---------|------------ i+ | patterns-openSUSE-base | package | Required | patterns-openSUSE-file_server | package | Required | nfs-kernel-server | package | Recommended i | nfsidmap | package | Recommended i | samba | package | Recommended i | samba-client | package | Recommended i | samba-winbind | package | Recommended | tftp | package | Recommended | vsftpd | package | Recommended | yast2-ftp-server | package | Recommended | yast2-nfs-server | package | Recommended i | yast2-samba-server | package | Recommended | yast2-tftp-server | package | Recommended
如果需要列出相关联的软件包,可以执行以下这个命令。
# zypper pattern-info file_server Loading repository data... Warning: Repository 'Update Repository (Non-Oss)' appears to be outdated. Consider using a different mirror or server. Warning: Repository 'Main Update Repository' appears to be outdated. Consider using a different mirror or server. Reading installed packages... -
-
Information for pattern file_server: ------------------------------------ Repository : Main Repository (OSS) Name : file_server Version : 20150918-25.1 Arch : x86_64 Vendor : openSUSE Installed : No Visible to User : Yes Summary : File Server Description : File services to host files so that they may be accessed or retrieved by other computers on the same network. This includes the FTP, SMB, and NFS protocols. Contents : S | Name | Type | Dependency ---|-------------------------------|---------|------------ i+ | patterns-openSUSE-base | package | Required | patterns-openSUSE-file_server | package | Required | nfs-kernel-server | package | Recommended i | nfsidmap | package | Recommended i | samba | package | Recommended i | samba-client | package | Recommended i | samba-winbind | package | Recommended | tftp | package | Recommended | vsftpd | package | Recommended | yast2-ftp-server | package | Recommended | yast2-nfs-server | package | Recommended i | yast2-samba-server | package | Recommended | yast2-tftp-server | package | Recommended
(编辑:ASP站长网)
|