使用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支持"Yum-install A=0.13.*"。看来zypper也应该能够。
(SUSE Linux Enterprise Server 12,zypper 1.11.14)
搜索YaST包(引用字符串以防止shell展开通配符):$zypper se'yast*'
您只需要使用引号=)