-
Notifications
You must be signed in to change notification settings - Fork 330
Full details for Compilation and Installation in Raspbian Or OSMC
Haris edited this page Dec 12, 2019
·
21 revisions
A lot of people are having problems in compiling and installing moonlight-embedded from source. Based on the instructions from this post:
- Supposingly you do have latest Rasbian image (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
- Then you have to:
sudo apt-get update
sudo apt-get install git libopus0 libexpat1 libasound2 libudev1 libavahi-client3 libcurl3 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
- Also, if you have OSMC:
sudo apt-get install rbp-userland-dev-osmc
Or if you have Raspbian:
sudo apt-get install libraspberrypi-dev
- 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
- Lastly, reboot your machine for all the changes to take effect:
sudo shutdown -r now