Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- set -eu -o pipefail # fail on error , debug all lines
- sudo -n true
- test $? -eq 0 || exit 1 "you should have sudo priveledge to run this script"
- echo installing the must-have pre-requisites
- while read -r p ; do sudo apt-get install -y $p ; done < <(cat << "EOF"
- libmicrohttpd-dev
- libssl-dev
- cmake
- build-essential
- libhwloc-dev
- aptitude
- uget
- wget
- EOF
- )
- echo installing the nice-to-have pre-requisites
- echo you have 5 seconds to proceed ...
- echo or
- echo hit Ctrl+C to quit
- echo -e "\n"
- sleep 6
- sudo apt-get install -y tig
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement