forked from talkkonnect/talkkonnect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild-mumble-server.sh
44 lines (35 loc) · 1.19 KB
/
build-mumble-server.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/bash
# Bash Script to Build murmur server from source on debian 11 minimal OS
apt install -y build-essential pkg-config qttools5-dev qttools5-dev-tools libqt5svg5-dev libboost-dev libssl-dev libprotobuf-dev protobuf-compiler
apt install -y libprotoc-dev libcap-dev libxi-dev libasound2-dev libogg-dev
apt install -y libsndfile1-dev libspeechd-dev libavahi-compat-libdnssd-dev libxcb-xinerama0 libzeroc-ice-dev libpoco-dev git
apt install -y qtcreator
apt install -y libcurl4-openssl-dev libavahi-compat-libdnssd-dev libssl-dev libzeroc-ice-dev
apt install -y libboost-tools-dev libboost-thread-dev magics++
apt install -y net-tools wget
cd /usr/src
git clone https://github.com/Kitware/CMake
cd /usr/src/CMake
./bootstrap
make
make install
cd /usr/src/
wget https://github.com/protocolbuffers/protobuf/releases/download/v3.20.0/protobuf-all-3.20.0.tar.gz
tar -zxvf protobuf-all-3.20.0.tar.gz
cd /usr/src/protobuf-3.20.0/
./configure
make
make install
ldconfig
protoc --version
cd /usr/src
git clone https://github.com/mumble-voip/mumble/
cd /usr/src/mumble
git submodule update --init --recursive
cd /usr/src/mumble
mkdir build
cd /usr/src/mumble/build
cmake -Dclient=OFF ..
make
make install
exit 0