ligo/scripts/install_native_dependencies.sh

41 lines
632 B
Bash
Executable File

#!/bin/sh
set -e
set -x
. /etc/os-release
if [ $ID = arch ]
then
pacman -Sy
sudo pacman -S --noconfirm \
python \
python-pip \
libevdev \
perl \
pkg-config \
gmp \
hidapi \
m4 \
libcap \
bubblewrap \
rsync \
git
else
apt-get update -qq
apt-get -y -qq install \
python3 \
python3-pip \
libev-dev \
perl \
pkg-config \
libgmp-dev \
libhidapi-dev \
m4 \
libcap-dev \
bubblewrap \
rsync \
git
fi
pip3 install future-fstrings