Advertisement
Wrigs

install-software-debian.sh

May 29th, 2024 (edited)
1,049
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.65 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. set -eu -o pipefail # fail on error and report it, debug all lines
  4.  
  5. sudo -n true
  6. test $? -eq 0 || exit 1 "you should have sudo privilege 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.     ipython3
  11.     python3-pip
  12.     python3-tk
  13.     python-simpy-gui
  14.     jupyter-notebook
  15.     qalculate-gtk
  16.     meld
  17.     sublime-text
  18.     lua5.4
  19.     scala
  20.     sqlite3    
  21. EOF
  22. )
  23.  
  24. echo installing the nice-to-have pre-requisites
  25. echo you have 5 seconds to proceed ...
  26. echo or
  27. echo hit Ctrl+C to quit
  28. echo -e "\n"
  29. sleep 6
  30.  
  31. sudo apt-get install -y tig
  32.  
  33.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement