eris/install-dependencies

18 lines
464 B
Text
Raw Normal View History

2015-12-26 20:52:39 +00:00
#!/bin/bash
set -e
DIST_ID=$(cat /etc/os-release | grep "^ID=" | cut -d "=" -f 2)
2017-09-01 22:07:22 +01:00
if [ $DIST_ID != "ubuntu" ]; then
2018-09-17 23:59:38 +10:00
echo "Eris can only be installed on Ubuntu."
2017-09-01 22:07:22 +01:00
exit 1
fi
2019-06-22 13:29:34 +10:00
echo "Installing the dependencies of the eris script…"
sudo apt --yes install python3-pip python3.9 util-linux python3-cwcwidth
python3.9 -m pip install pyinotify pygments docopt pillow toml decorator pexpect
2015-12-26 20:52:39 +00:00
echo
2019-06-22 13:29:34 +10:00
echo "Installing all the tools eris may need…"
2015-12-26 20:52:39 +00:00
./install-tools