-
Notifications
You must be signed in to change notification settings - Fork 140
Expand file tree
/
Copy pathinstall.sh
More file actions
27 lines (20 loc) · 712 Bytes
/
install.sh
File metadata and controls
27 lines (20 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
# ----------------------------------------------------------------------
# This file is part of peframe https://github.com/guelfoweb/peframe/
# ----------------------------------------------------------------------
if [[ $(id -u) -ne 0 ]]; then
echo "Please run as root"
exit 1
fi
peframe_version="6.0.3"
environment_test="Ubuntu Desktop 18.04.2 64bit"
echo "Installation script peframe $peframe_version"
echo -e "Tested on $environment_test\n"
read -rsp $'Press enter to continue...\n'
apt -y install python3
apt -y install python3-dev
apt -y install python3-pip
apt -y install libssl-dev
apt -y install swig
echo -e "\nInstalling requirements via setup.py...\n"
python3 setup.py install