How to install byobu in ec2 ami

amazon ec2amazon-amiinstallationpackageyum

I know it was possible usint a package manager since i did it once a time ago. But now if I try

sudo yum install byobu

it just fails …

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

Best Answer

Not sure why, but the EPEL repo is installed, but disabled by default. You can enable it permanently by changing the setting "enabled=1" in the [epel] stanza of /etc/yum.repos.d/epel.repo

Or you can leave it disabled and still install byobu:

sudo yum install --enablerepo=epel byobu

You can have a look at what packages are available in the epel repo with:

sudo yum list --disablerepo=\* --enablerepo=epel