ligo/scripts/install_native_dependencies.sh

37 lines
559 B
Bash
Raw Normal View History

#!/bin/sh
set -e
set -x
2019-10-24 17:04:16 +04:00
. /etc/os-release
2019-10-24 17:04:16 +04:00
if [ $ID = arch ]
then
pacman -Sy
sudo pacman -S --noconfirm \
2020-02-10 22:42:35 +04:00
python \
2019-10-24 17:04:16 +04:00
libevdev \
perl \
pkg-config \
gmp \
hidapi \
m4 \
libcap \
bubblewrap \
2019-12-17 00:32:10 +04:00
rsync \
git
2019-10-24 17:04:16 +04:00
else
apt-get update -qq
apt-get -y -qq install \
2020-02-10 22:42:35 +04:00
python3 \
2019-10-24 17:04:16 +04:00
libev-dev \
perl \
pkg-config \
libgmp-dev \
libhidapi-dev \
m4 \
libcap-dev \
bubblewrap \
2019-12-17 00:32:10 +04:00
rsync \
git
2019-10-24 17:04:16 +04:00
fi