SHARE
TWEET

Untitled

a guest Jan 19th, 2020 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. # -*- coding: utf-8 -*-
  3.  
  4. #installation unzip
  5. apt-get update
  6. apt-get upgrade
  7. apt-get install unzip -y && echo " Unzip install Ok" || echo "Unzip install ERROR"
  8.  
  9. until [[ ${nombre} =~ ^[0-9]+$ ]]; do
  10. echo "Voulez vous continuer l'installation ? [1]Oui [CTRL+C]Non"
  11. read nombre
  12. done
  13.  
  14. #Update et Upgrade distro
  15. apt-get update && echo "Update OK" || echo "Update ERROR"
  16. apt-get upgrade -y && echo "Upgrade OK" || echo "Upgrade ERROR"
  17.  
  18. #Installation d├ępendances
  19. apt-get install -y git && echo "Git Install OK" || echo "Git Install ERROR"
  20. apt-get install -y curl && echo "Curl Install OK" || echo "Curl Install ERROR"
  21. apt-get install -y python2.7 && echo "Python2.7 Install OK" || echo "Python2.7 Install ERROR"
  22. apt-get install -y python-pip && echo "Python-pip Install OK" || echo "Python-pip Install ERROR"
  23. apt-get install -y python3 && echo "Python3 Install OK" || echo "Python3 Install ERROR"
  24. apt-get install -y python3-pip && echo "Python3-pip Install OK" || echo "Python3-pip Install ERROR"
  25. apt-get install -y build-essential && echo "Build-essential Install OK" || echo "Build-essential Install ERROR"
  26. apt-get install -y libssl-dev && echo "Libssl-dev Install OK" || echo "Libssl-dev Install ERROR"
  27. apt-get install -y libffi-dev && echo "Libffi-dev Install OK" || echo "Libffi-dev Install ERROR"
  28. apt-get install -y python-dev && echo "Python-dev Install OK" || echo "Python-dev Install ERROR"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top