Skip to content

Full details for Compilation and Installation in Raspbian Or OSMC

Chris S edited this page Jan 4, 2020 · 21 revisions

A lot of people are having problems in compiling and installing moonlight-embedded from source. Based on the instructions from this post:

  1. Supposingly you do have latest Raspbian image already installed (Raspbian can be found here: https://www.raspberrypi.org/downloads/raspbian/) - first of all - make sure you uninstall previous moonlight-embedded version (if installed):
sudo apt-get purge moonlight-embedded
  1. Then you have to:
sudo apt-get update

sudo apt-get install git libopus0 libexpat1 libasound2 libudev1 libavahi-client3 libcurl4 libevdev2 libenet7 libssl-dev libopus-dev libasound2-dev libudev-dev libavahi-client-dev libcurl4-openssl-dev libevdev-dev libexpat1-dev libpulse-dev uuid-dev libenet-dev cmake gcc g++ fakeroot debhelper
  1. Also, if you have OSMC:
sudo apt-get install rbp-userland-dev-osmc

Or if you have Raspbian:

sudo apt-get install libraspberrypi-dev
  1. Then donwload the moonlight-embedded sources, compile and install it with these commands:
git clone https://github.com/irtimmer/moonlight-embedded.git
cd moonlight-embedded
git submodule update --init
mkdir build
cd build/
cmake ../
make
sudo make install
sudo ldconfig
  1. Lastly, reboot your machine for all the changes to take effect:
sudo shutdown -r now
Clone this wiki locally