-
Notifications
You must be signed in to change notification settings - Fork 24
Build instructions for Linux
Tobias Wellnitz edited this page Apr 18, 2017
·
13 revisions
-
Make sure, you have installed the latest Go version and set the Go environment variables:
- $GOPATH
- $PATH=$PATH:$GOPATH/bin
If this is the first time you use go, you might want to add them to your bash profile (
$HOME/.profile
) so that the variables get set automatically. For example:export GOPATH=$HOME/go export PATH=$PATH:$GOPATH/bin
-
Install apt packages:
$ sudo apt-get install -y autoconf automake libtool build-essential $ sudo apt-get install -y pkg-config libsamplerate0 libsamplerate0-dev libopusfile-dev libopus-dev libportaudio2 portaudio19-dev
-
Download this repository
$ go get -d github.com/dh1tw/remoteAudio
-
Change into the repository's directory
$ cd $GOPATH/src/github.com/dh1tw/remoteAudio
-
Download and install go dependencies
$ make install-deps
-
Install the latest Protocol buffers compiler (>=3.0)
The installation & compilation of the protobuf compiler might take some time, depending on the available CPU power.
$ ./ci/install-protobuf.sh
-
Build remoteAudio
$ make build
-
Install remoteAudio on your Systems
$ make install