Skip to content

Instantly share code, notes, and snippets.

@drc288
Last active March 9, 2020 16:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drc288/7393d97373f8e85da46fb056960ef286 to your computer and use it in GitHub Desktop.
Save drc288/7393d97373f8e85da46fb056960ef286 to your computer and use it in GitHub Desktop.
#!/bin/bash
# This scrypt update all dependencies and install pip install pip
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
else
apt-get update
apt-get install python3-pip -y
pip3 install typer
exit 0
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment