How do I install byobu in ec2 ami

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

Answers


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

The error message indicates that the package byobu is not available in the amzn-main repository.

You can manually install it from another repository

cd ~
wget ftp://ftp.pbone.net/mirror/download.fedora.redhat.com/pub/fedora/epel/5/x86_64/byobu-3.4-2.el5.noarch.rpm    
sudo yum install byobu-3.4-2.el5.noarch.rpm

Maybe someone needs a new link for byobu

So you can install it by

wget ftp://ftp.pbone.net/mirror/download.fedora.redhat.com/pub/fedora/epel/7/x86_64/b/byobu-5.73-4.el7.noarch.rpm
sudo yum install byobu-5.73-4.el7.noarch.rpm

Need Your Help