在 Oracle Linux 上,如何安装更新的软件包?
例如,yum install -y wireshark; wireshark --version
给出Wireshark 2.6.2
,但上游位于Wireshark 4.0.6
。我有Last metadata expiration check: 2 days, 9:01:50 ago
。
> yum search -v wireshark
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade, ulninfo
YUM version: 4.7.0
cachedir: /var/tmp/dnf-opc-3xezwdbs
========================================================================================= Name Exactly Matched: wireshark =========================================================================================
wireshark.aarch64 : Network traffic analyzer
Repo : @System
Matched from:
Provide : wireshark = 1:2.6.2-15.el8
wireshark.src : Network traffic analyzer
Repo : ol8_appstream
Matched from:
Other : wireshark
======================================================================================== Name & Summary Matched: wireshark ========================================================================================
libvirt-wireshark.aarch64 : Wireshark dissector plugin for libvirt RPC transactions
Repo : ol8_appstream
Matched from:
Provide : libvirt-wireshark = 8.0.0-19.0.1.module+el8.8.0+21044+01700444
============================================================================================= Name Matched: wireshark =============================================================================================
wireshark-cli.aarch64 : Network traffic analyzer
Repo : @System
Matched from:
Provide : wireshark-cli = 1:2.6.2-15.el8
答案1
Oracle Linux 是 Red Hat Enterprise 的衍生产品,是一种“企业”操作系统。这意味着稳定为王。如果你想要更新的东西,你需要一个更前沿的发行版或者您需要指向不同的存储库。
例如,EPEL。不过那个好像也没有,所以你可以尝试重建一下来自 Fedora 使用的源 RPM,但是如果需要新的库或内核调用,您可能会陷入依赖地狱。