List repository
cmd:
zypper repos zypper lr
output:
Repository priorities are without effect. All enabled repositories share the same priority. # | Alias | Name | Enabled | GPG Check | Refresh --+-------------+-------------+---------+-----------+-------- 1 | SLES15-15-0 | SLES15-15-0 | Yes | (r ) Yes | No
假如要知道repository來源就加-d:
zypper repos -d zypper lr -d
Search packages
cmd:
zypper search-packages ipmitool
output:
Following packages were found in following modules: Package Module or Repository -------- --------------------------------------------------- ipmitool Basesystem Module (sle-module-basesystem/15/x86_64) To activate the respective module or product, use SUSEConnect --product. Use SUSEConnect --help for more details.
假如要把套件描述內容加入搜尋條件,可以加-d。
留言
張貼留言