Skip to content

Instantly share code, notes, and snippets.

@maximd
Last active December 5, 2016 11:45
Show Gist options
  • Save maximd/9627606 to your computer and use it in GitHub Desktop.
Save maximd/9627606 to your computer and use it in GitHub Desktop.
Install byobu from source
#!/usr/bin/env bash
#
# Install byobu from source
#
# Author: Maxim Doucet <[email protected]>
BYOBU_VERSION=5.112
BUILD_DIR=/tmp/install_byobu
if ! mkdir -p "${BUILD_DIR}" ; then
echo "Error: cannot create ${BUILD_DIR}" >&2
exit 100
fi
pushd "${BUILD_DIR}"
wget "https://launchpad.net/byobu/trunk/${BYOBU_VERSION}/+download/byobu_${BYOBU_VERSION}.orig.tar.gz"
tar zxvf "byobu_${BYOBU_VERSION}.orig.tar.gz"
cd "byobu-${BYOBU_VERSION}"
./configure
make
make install
popd
rm -rf "${BUILD_DIR}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment