使用zypper,是否有某种方法可以使用通配符或类似方法安装版本?
# zypper install A=0.13.*
Loading repository data...
Reading installed packages...
'A=0.13.*' not found in package names. Trying capabilities.
No provider of 'A=0.13.*' found.
Resolving package dependencies...
Nothing to do.
或者有没有办法搜索版本并将其传送到zypper安装(无需编写shell脚本)?
# zypper se A=0.13
Loading repository data...
Reading installed packages...
No packages found.
# zypper se 'A=0.13*'
Loading repository data...
Reading installed packages...
No packages found.
百胜支持“ yum install A = 0.13。* ”。似乎zypper也应该能够。
(SUSE Linux Enterprise Server 12,zypper 1.11.14)
答案 0 :(得分:1)
搜索YaST包(引用字符串以防止shell 从扩展通配符): $ zypper se' yast *'
你只需要使用quotes =)