如何找到要使用 YUM 安装的特定软件包?
我想在我的 Linux 机器上安装 Apache Solr,并且想知道是否可以使用 yum 安装它。 yum list 打印所有可用的软件包,但不可能阅读数千个软件包来找到正确的安装,特别是考虑到软件包几乎可以命名为任何名称。
有没有更好的方法来查明 yum 是否提供特定软件包?
I want to install Apache Solr on my linux machine, and am wondering if I can install it with yum. yum list
prints all available packages, but it's impossible to read through thousands of these to find the right install, especially considering a package could be named virtually anything.
Is there a better way to find out if a particular package is available with yum?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
有两个选项(因为它们都倾向于返回不同的结果)
我在我的机器上只看到 PHP 插件,但我使用的是较旧的版本。
需要更多,您可以对其中包含 solr 的内容进行文件名匹配:
Two options (since they both tend to return different results)
I see only the PHP plugin on my machine, but I'm using an older release.
Need even more, you can do a filename match on things with solr in them:
尝试:
如果找不到,您可能需要添加更多存储库。
Try:
If it doesn't find it, you might need to add more repositories.