从Amazon Linux上获得YUM的新版本的最安全方法是什么?
我需要在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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对我来说,在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.