Amazon Linux - Install Byobu
First try with:
sudo yum install byobu -y
If that doesn't work, you can add the EPEL repository (Amazon Linux 2):
sudo amazon-linux-extras install epel
sudo yum-config-manager --enable epel
sudo yum install byobu -y
Manually Compile
Alternatively, one can manually compile by running the following commands:
sudo yum update -y
wget https://launchpad.net/byobu/trunk/5.133/+download/byobu_5.133.orig.tar.gz
tar xzf byobu*.tar.gz
cd byobu-*
./configure
sudo make
sudo make install
You should now be able to enter byobu with the following command:
byobu
Optional - Switch Byobu Backend To Tmux
By default, byobu will use screen for sessions instead of tmux. This results in there being two rows at the bottom instead of just one. Here's how to change to using tmux.
sudo yum install tmux -y
byobu-select-backend
At the prompt, press 1 to select tmux.
References
Last updated: 23rd May 2023
First published: 16th August 2018
First published: 16th August 2018