Skip to content

Build instructions for Linux

Tobias Wellnitz edited this page Mar 3, 2017 · 13 revisions

Build instructions for Ubuntu >= 14.04

  1. 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, I suggest to add them to your bash profile (vim $HOME/.profile). For example:

```bash

export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin

```
  1. Install apt packages:

    $ sudo apt install pkg-config libsamplerate0 libsamplerate0-dev libopusfile-dev libopus-dev libportaudio2 portaudio19-dev
    
  2. Download this repository

    $ go get -d github.com/dh1tw/remoteAudio
    
  3. Change into the repository's directory

    $ cd $GOPATH/src/github.com/dh1tw/remoteAudio
    
  4. Download and install go dependencies

    $ make install-deps
    
  5. Install the latest Protocol buffers compiler (>=3.0)

    $ ./ci/install-protobuf.sh
    
  6. Build remoteAudio

    $ make build
    
  7. Install remoteAudio on your Systems

    $ make install