python setup script

This commit is contained in:
Maksymilian Potok 2020-12-05 03:16:40 +01:00
parent 2148a4a5c3
commit 807f11386d
1 changed files with 17 additions and 0 deletions

17
setup.sh Normal file
View File

@ -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!"