Commit e780819c authored by Gabriel Kirsten's avatar Gabriel Kirsten
Browse files

require sudo

parent b28b017d
#!/bin/bash
clear
echo "[PYNOVISAO INSTALLER] Installing PYNOVISAO... Please wait!"
#check if is root
if [ "$EUID" -ne 0 ]
then echo "[PYNOVISAO INSTALLER] ERROR! Please run as root."
exit
fi
sudo apt-get update
sudo apt-get -y install libfreetype6-dev tk tk-dev python-pip default-jre weka weka-doc
echo "[PYNOVISAO INSTALLER] Installing libraries..."
pip install -r requeriments.txt
echo
echo "[PYNOVISAO INSTALLER] Installation completed!"
echo
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment