eris/install-dependencies
Andrew Hamilton d83bea2ba8 release: Move eris to ubuntu 21.10.
- Update readme.
- php7 -> php8.
- Fix python-coverage.
- Also need python decorator module.
- Replaced Mcrt1 with rotatingtree since Mcrt1 started raising
  a new warning.
2021-10-18 01:40:39 +10:00

17 lines
456 B
Bash
Executable file

#!/bin/bash
set -e
DIST_ID=$(cat /etc/os-release | grep "^ID=" | cut -d "=" -f 2)
if [ $DIST_ID != "ubuntu" ]; then
echo "Eris can only be installed on Ubuntu."
exit 1
fi
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
echo
echo "Installing all the tools eris may need…"
./install-tools