Skip to content

Instantly share code, notes, and snippets.

@kerren
Last active October 28, 2023 16:18
Show Gist options
  • Save kerren/9f4999715408beb9a5c6abd89558fc93 to your computer and use it in GitHub Desktop.
Save kerren/9f4999715408beb9a5c6abd89558fc93 to your computer and use it in GitHub Desktop.
Install byobu from source
# Full instructions
# https://blog.entrostat.com/install-byobu-on-any-linux-distro/
BYOBU_VERSION=5.133
set -e
echo "Please make sure you have the following dependencies installed:"
echo " [+] tar"
echo " [+] screen"
echo " [+] tmux"
echo " [+] make"
which tar
which screen
which tmux
which make
echo "We are going to download version ${BYOBU_VERSION} of byobu and install it..."
echo "Setting up temporary folder"
UNIQUE_FOLDER=$(date +%s)
cd /tmp
mkdir /tmp/${UNIQUE_FOLDER}
cd /tmp/${UNIQUE_FOLDER}
echo "Downloading source package"
wget "https://launchpad.net/byobu/trunk/${BYOBU_VERSION}/+download/byobu_${BYOBU_VERSION}.orig.tar.gz"
echo "Extracting the source files"
tar -xvf "byobu_${BYOBU_VERSION}.orig.tar.gz"
BYOBU_FOLDER_NAME=$(ls | grep byobu | grep -v .tar.gz)
cd "byobu-${BYOBU_VERSION}"
echo "Configuring and building"
./configure
sudo make install
byobu-select-backend tmux
echo ""
echo ""
echo ""
echo ""
echo "You're ready to go! Just type:"
echo ""
echo ""
echo "byobu"
@srikantpatnaik
Copy link

Thanks, worked on oracle linux 9 (aarch64).

@natusameer
Copy link

Thanks! Works without issues on Oracle Linux

@pgrashof
Copy link

Thanks, works out-of-the-box !

@sorbing
Copy link

sorbing commented Oct 28, 2023

Thanks! 🤝

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment