Advertisement
Allaun

eh monero related

Dec 13th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. set -eu -o pipefail # fail on error , debug all lines
  4.  
  5. sudo -n true
  6. test $? -eq 0 || exit 1 "you should have sudo priveledge to run this script"
  7.  
  8. echo installing the must-have pre-requisites
  9. while read -r p ; do sudo apt-get install -y $p ; done < <(cat << "EOF"
  10. libmicrohttpd-dev
  11. libssl-dev
  12. cmake
  13. build-essential
  14. libhwloc-dev
  15. aptitude
  16. uget
  17. wget
  18. EOF
  19. )
  20.  
  21. echo installing the nice-to-have pre-requisites
  22. echo you have 5 seconds to proceed ...
  23. echo or
  24. echo hit Ctrl+C to quit
  25. echo -e "\n"
  26. sleep 6
  27.  
  28. sudo apt-get install -y tig
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement