From 807f11386ded38d2ea94f9a7f6f1df1be1a0d5ac Mon Sep 17 00:00:00 2001 From: Maksymilian Potok Date: Sat, 5 Dec 2020 03:16:40 +0100 Subject: [PATCH] python setup script --- setup.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 setup.sh diff --git a/setup.sh b/setup.sh new file mode 100644 index 0000000..9f12314 --- /dev/null +++ b/setup.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +if [ "$EUID" -ne 0 ] + then echo "Please run as root" + exit +fi + +echo "Updating packages" +apt-get update + +echo "Installing Python 3" +apt-get install python3 + +echo "Installing pip" +apt-get install python3-pip + +echo "Done!" \ No newline at end of file