Updated Full details for Compilation and Installation in Raspbian Or OSMC (markdown)

Haris committed 2019-02-07 11:25:21 +02:00
1 parent 699b67d736
commit bb04cee555
1 file changed
+15 -15
@@ -2,37 +2,37 @@ A lot of people are having problems in "compiling" and installing moonlight-embe
1) First of all make sure you uninstall previous moonlight-embedded version (if) installed to keep things clear (if you have a new raspbian/osmc image omit this and go directly to step 2): 1) First of all make sure you uninstall previous moonlight-embedded version (if) installed to keep things clear (if you have a new raspbian/osmc image omit this and go directly to step 2):
sudo apt-get purge moonlight-embedded _sudo apt-get purge moonlight-embedded_
2) Then you have to: 2) Then you have to:
sudo apt-get update _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 _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_
3) Afterwards use the below command (if y have OSMC) 3) Afterwards use the below command (if y have OSMC)
sudo apt-get install rbp-userland-dev-osmc _sudo apt-get install rbp-userland-dev-osmc_
Or if you have Raspbian image: Or if you have Raspbian image:
sudo apt-get install libraspberrypi-dev _sudo apt-get install libraspberrypi-dev_
4) Then donwload the moonlight-embedded sources, compile and install it with these commands: 4) Then donwload the moonlight-embedded sources, compile and install it with these commands:
git clone https://github.com/irtimmer/moonlight-embedded.git _git clone https://github.com/irtimmer/moonlight-embedded.git_
cd moonlight-embedded _cd moonlight-embedded_
git submodule update --init _git submodule update --init_
mkdir build _mkdir build_
cd build/ _cd build/_
cmake ../ _cmake ../_
make _make_
sudo make install _sudo make install_
sudo ldconfig _sudo ldconfig_
5) Lastly, reboot your machine: 5) Lastly, reboot your machine:
sudo shutdown -r now _sudo shutdown -r now_
Hope this helps:) Hope this helps:)