Skip to content

Instantly share code, notes, and snippets.

brysontyrrell /
Last active Jun 30, 2017
Install Python from source on Ubuntu Linux
# This script will install specific versions of Python on Ubuntu Linux servers
if [ "$(whoami)" != "root" ]; then
echo "WARNING: You must run this script as 'root'"
# This shortcut method will fail if the script file does not have execute permissions
exec sudo -- "$0" "$@"
if [[ $inputVersion == "" ]]; then