从Amazon Linux上获得YUM的新版本的最安全方法是什么?

发布于 2025-01-25 12:44:51 字数 179 浏览 4 评论 0原文

我需要在Amazon Linux上使用较新版本的Binutils来编译所需的软件。这是由于版本2.29中的错误,这是其存储库中最新可用的。添加另一个存储库的最佳方法是什么?当我添加和删除未批准的存储库时,这种情况会弄乱YUM命令的未来用途?我可以添加来自类似CentOS的类似风味的仓库吗?亚马逊是否有一个较少的“安全”版本,其中包含最新软件?

I need a newer version of binutils on Amazon Linux to compile a piece of needed software. This is due to a bug in version 2.29 which is the latest available in their repo. What would be the best way to add another repo, and will this mess up future uses of the yum command as I add and remove non-approved repos? Can I just add in a repo from a similar flavor like CentOS? Does Amazon have a less "Safe" version that has up to date software in it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

冷月断魂刀 2025-02-01 12:44:51

对我来说,在VM上获得较新版本的最安全方法是将其编译并在不同的位置安装,例如/opt/binutils//usr/usr/local/binutils并使用并使用utils的绝对路径。

For me the safest way to get newer version on your VM is to compile it and install it in different place like /opt/binutils or /usr/local/binutils and use absolute paths for utils.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文