Debian Codegraph @

appveyor/linux/install.sh

raw
1 #!/bin/bash
2 set -ev
3
4 sudo apt-get update -qq
5 sudo apt-get install -qq flex libpulse-dev
6 sudo apt-get install -qq libglu1-mesa-dev libxcb-cursor-dev
7 sudo apt-get install -qq libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
8 sudo apt-get install -qq libsamplerate0-dev
9 sudo apt-get install -qq libical-dev
10
11 # R 4.0
12 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
13 sudo add-apt-repository -y "deb https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/"
14 sudo apt-get update -qq
15 sudo apt-get install -qq r-base-dev
16 R --version
17
18 # D2XX - refresh cache if folder is empty
19 if [ -z "$(ls -A D2XX)" ]; then
20 mkdir -p D2XX
21 wget --no-verbose https://ftdichip.com/wp-content/uploads/2022/07/libftd2xx-x86_64-1.4.27.tgz
22 tar xf libftd2xx-x86_64-1.4.27.tgz -C D2XX
23 fi
24
25 # SRMIO
26 if [ -z "$(ls -A srmio)" ]; then
27 git clone https://github.com/rclasen/srmio.git
28 cd srmio
29 sh genautomake.sh
30 ./configure --disable-shared --enable-static
31 make --silent -j2
32 cd ..
33 fi
34 cd srmio
35 sudo make install
36 cd ..
37
38 # LIBUSB
39 sudo apt-get install -qq libusb-1.0-0-dev libudev-dev
40
41 # Add Python 3.7 and SIP
42 sudo add-apt-repository -y ppa:deadsnakes/ppa
43 sudo apt-get update -qq
44 sudo apt-get install -qq python3.7-dev python3.7-distutils
45 python3.7 --version
46 if [ -z "$(ls -A sip-4.19.8)" ]; then
47 wget --no-verbose https://sourceforge.net/projects/pyqt/files/sip/sip-4.19.8/sip-4.19.8.tar.gz
48 tar xf sip-4.19.8.tar.gz
49 cd sip-4.19.8
50 python3.7 configure.py --incdir=/usr/include/python3.7
51 make -j2
52 cd ..
53 fi
54 cd sip-4.19.8
55 sudo make install
56 cd ..
57
58 # GSL
59 sudo apt-get -qq install libgsl-dev
60
61 # Install fuse2 required to run older AppImages, and patchelf to fix QtWebEngineProcess
62 sudo add-apt-repository -y universe
63 sudo apt install libfuse2 patchelf
64
65 exit