设为首页 - 加入收藏 ASP站长网(Aspzz.Cn)- 科技、建站、经验、云计算、5G、大数据,站长网!
热搜: 数据 手机 公司
当前位置: 首页 > 服务器 > 搭建环境 > Windows > 正文

如何在Linux中列出可用的软件包组(4)

发布时间:2018-10-16 19:15 所属栏目:117 来源:Prakash Subramanian
导读:如果需要列出相关联的软件包,可以执行以下这个命令。下面的例子是列出和 file_server 组相关联的软件包。另外 zypper 还允许用户使用不同的选项执行相同的操作。 # zypper info file_server Loading repository da

如果需要列出相关联的软件包,可以执行以下这个命令。下面的例子是列出和 “file_server” 组相关联的软件包。另外 zypper 还允许用户使用不同的选项执行相同的操作。

  1. # zypper info file_server
  2. Loading repository data...
  3. Warning: Repository 'Update Repository (Non-Oss)' appears to be outdated. Consider using a different mirror or server.
  4. Warning: Repository 'Main Update Repository' appears to be outdated. Consider using a different mirror or server.
  5. Reading installed packages...
  6.  
  7. Information for pattern file_server:
  8. ------------------------------------
  9. Repository : Main Repository (OSS)
  10. Name : file_server
  11. Version : 20150918-25.1
  12. Arch : x86_64
  13. Vendor : openSUSE
  14. Installed : No
  15. Visible to User : Yes
  16. Summary : File Server
  17. Description :
  18. 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.
  19. Contents :
  20. S | Name | Type | Dependency
  21. ---|-------------------------------|---------|------------
  22. i+ | patterns-openSUSE-base | package | Required
  23. | patterns-openSUSE-file_server | package | Required
  24. | nfs-kernel-server | package | Recommended
  25. i | nfsidmap | package | Recommended
  26. i | samba | package | Recommended
  27. i | samba-client | package | Recommended
  28. i | samba-winbind | package | Recommended
  29. | tftp | package | Recommended
  30. | vsftpd | package | Recommended
  31. | yast2-ftp-server | package | Recommended
  32. | yast2-nfs-server | package | Recommended
  33. i | yast2-samba-server | package | Recommended
  34. | yast2-tftp-server | package | Recommended

如果需要列出相关联的软件包,可以执行以下这个命令。

  1. # zypper pattern-info file_server
  2. Loading repository data...
  3. Warning: Repository 'Update Repository (Non-Oss)' appears to be outdated. Consider using a different mirror or server.
  4. Warning: Repository 'Main Update Repository' appears to be outdated. Consider using a different mirror or server.
  5. Reading installed packages...
  6.  
  7.  
  8. Information for pattern file_server:
  9. ------------------------------------
  10. Repository : Main Repository (OSS)
  11. Name : file_server
  12. Version : 20150918-25.1
  13. Arch : x86_64
  14. Vendor : openSUSE
  15. Installed : No
  16. Visible to User : Yes
  17. Summary : File Server
  18. Description :
  19. 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.
  20. Contents :
  21. S | Name | Type | Dependency
  22. ---|-------------------------------|---------|------------
  23. i+ | patterns-openSUSE-base | package | Required
  24. | patterns-openSUSE-file_server | package | Required
  25. | nfs-kernel-server | package | Recommended
  26. i | nfsidmap | package | Recommended
  27. i | samba | package | Recommended
  28. i | samba-client | package | Recommended
  29. i | samba-winbind | package | Recommended
  30. | tftp | package | Recommended
  31. | vsftpd | package | Recommended
  32. | yast2-ftp-server | package | Recommended
  33. | yast2-nfs-server | package | Recommended
  34. i | yast2-samba-server | package | Recommended
  35. | yast2-tftp-server | package | Recommended

(编辑:ASP站长网)

网友评论
推荐文章
    热点阅读