How do I install byobu in ec2 ami

Viewed 6772

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

4 Answers

For Amazon Linux 2:

You would need to install the EPEL release package for EL7 based AMI and enable the EPEL repository.

You may execute below: ⤵︎

sudo amazon-linux-extras install epel      # Install epel from Amazon's Linux Extras

sudo yum-config-manager --enable epel      # Enable EPEL repo in case disabled

sudo yum install byobu -y                  # Install byobu

byobu -v                                   # Verify Version

Here is the alternative source just in case Linux Extras don't work for you.

# (optional) Install EPEL repository from Fedora
sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

Reference: https://aws.amazon.com/premiumsupport/knowledge-center/ec2-enable-epel/


Tested On

Name: Amazon Linux 2 AMI (HVM), SSD Volume Type - ami-0323c3dd2da7fb37d (64-bit x86) / ami-0ce2e5b7d27317779 (64-bit Arm)

Related