LJ/server/install.sh
2023-06-03 14:43:53 +02:00

52 lines
1.3 KiB
Bash
Executable File

#!/bin/bash
sudo apt update
sudo apt upgrade
sudo apt install python3-pip
sudo apt install redis-server
# for dedicated computer after fresh linux install. todo : ask if needed.
#sudo apt install git
#sudo apt install syncthing
#sudo apt install htop
#sudo apt install screen
#sudo apt install tmux
#sudo apt install nginx
#sudo apt install supervisor
#sudo apt install ssh
# todo one day : modify correct path in syncthing.conf
#sudo cp syncthing.conf to /etc/supervisor/conf.d/
pip3 install scipy
pip3 install numpy
sudo apt-get install python-scipy
sudo apt install libatlas-base-dev
#pip install pygame==1.9.2
#pip3 install pygame==1.9.2
pip3 install redis
pip3 install pysimpledmx
pip3 install DMXEnttecPro
sudo apt install libasound2-dev
sudo apt install libjack-dev
pip3 install python-rtmidi
pip3 install mido
git clone https://github.com/ptone/pyosc --depth 1 /tmp/pyosc && cd /tmp/pyosc && sudo ./setup.py install
pip3 install tk
cd ../
python3 configure.py
# todo : ask for computer ip and run updateUI.py
cd /tmp
sudo apt install portaudio19-dev
sudo apt install cmake
git clone https://github.com/Ableton/link.git
cd link
git submodule update --init --recursive
mkdir build
cd build
cmake ..
cmake --build .
cd /tmp/
git clone --recursive https://github.com/gonzaloflirt/link-python.git
cd link-python
mkdir build
cd build
cmake ..
cmake --build .