amazon-ec2 - 如何在 ec2 ami 中安装 byobu

标签 amazon-ec2 installation package yum amazon-ami

我知道有可能使用包管理器,因为我之前做过一次。但现在如果我尝试

sudo yum install byobu



它只是失败了......

Failed to set locale, defaulting to C
Loaded plugins: fastestmirror, priorities, security, update-motd
Loading mirror speeds from cached hostfile
* amzn-main: packages.us-east-1.amazonaws.com
* amzn-updates: packages.us-east-1.amazonaws.com
amzn-main
amzn-updates
Setting up Install Process
No package byobu available.
Error: Nothing to do

最佳答案

不知道为什么,但 EPEL 存储库已安装,但默认禁用。您可以通过更改设置 "enabled=1" 永久启用它。在 [epel] stanza/etc/yum.repos.d/epel.repo
或者您可以将其禁用并仍然安装 byobu:

sudo yum install --enablerepo=epel byobu

您可以通过以下方式查看 epel 存储库中可用的软件包:
sudo yum list --disablerepo=\* --enablerepo=epel

关于amazon-ec2 - 如何在 ec2 ami 中安装 byobu,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11584838/

相关文章:

java - 获取java项目中的包列表

amazon-ec2 - 防止 DOS_OUTLOOK_TO_MX SpamAssasin 的标志

node.js - AWS Elastic Beanstalk - 用户权限问题

java - 在 Windows 下从 ANT 脚本创建 RPM 包

installation - haxelib 与 haxe 一起安装在自定义目录中

r - 无法安装和加载包

ruby - 如何使用 native 扩展重新打包 ruby​​ gem

amazon-web-services - 试图了解 AWS 扩展是如何工作的

mysql - 亚马逊中的 Web 应用程序

默认启用 PHP 5.4 扩展