Last active
December 5, 2016 11:45
-
-
Save maximd/9627606 to your computer and use it in GitHub Desktop.
Install byobu from source
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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