zypper se -i
显示已安装的软件包,但与zypper pa
存储库不同,缺少架构和版本信息。是否有显示这些位的命令选项?
答案1
zypper 的手册页向您显示了许多选项,其中之一是-s
并显示了更多详细信息:
control01:~ # zypper se -si openssl
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...
S | Name | Type | Version | Arch | Repository
--+-------------------+-------+---------------------+--------+-----------------------------------------------
i | libopenssl1_1 | Paket | 1.1.1d-lp152.7.27.1 | x86_64 | openSUSE-Leap-15.2-Updates for x86_64
i | openssl | Paket | 1.1.1d-lp152.1.1 | noarch | openSUSE-Leap-15.2-Pool for x86_64
i | openssl-1_1 | Paket | 1.1.1d-lp152.7.27.1 | x86_64 | openSUSE-Leap-15.2-Updates for x86_64
i | python3-pyOpenSSL | Paket | 17.5.0-lp152.7.3.1 | noarch | openSUSE-Leap-15.2-Updates for x86_64