mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-02-16 02:20:42 +00:00
Updated Full details for Compilation and Installation in Raspbian Or OSMC (markdown)
@@ -1,48 +1,36 @@
|
||||
A lot of people are having problems in "compiling" and installing moonlight-embedded from source, that's why i decided to document the whole process here. Prerequisites: Y have already installed latest Raspbian/OSMC image.
|
||||
|
||||
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**
|
||||
A lot of people are having problems in compiling and installing moonlight-embedded from source. Based on [https://github.com/irtimmer/moonlight-embedded/issues/716#issuecomment-445205242](the instructions from this post):
|
||||
|
||||
1) First of all, make sure you uninstall previous moonlight-embedded version:
|
||||
```
|
||||
sudo apt-get purge moonlight-embedded
|
||||
```
|
||||
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**
|
||||
|
||||
3) Afterwards use the below command (if y have OSMC)
|
||||
|
||||
**sudo apt-get install rbp-userland-dev-osmc**
|
||||
|
||||
Or if you have Raspbian image:
|
||||
|
||||
**sudo apt-get install libraspberrypi-dev**
|
||||
|
||||
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) Also, if you have OSMC:
|
||||
```
|
||||
sudo apt-get install rbp-userland-dev-osmc
|
||||
```
|
||||
Or if you have Raspbian:
|
||||
```
|
||||
sudo apt-get install libraspberrypi-dev
|
||||
```
|
||||
4) 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**
|
||||
|
||||
```
|
||||
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
|
||||
```
|
||||
5) Lastly, reboot your machine:
|
||||
|
||||
**sudo shutdown -r now**
|
||||
|
||||
|
||||
Hope this helps:)
|
||||
|
||||
*Kudos to @posti85 from here https://github.com/irtimmer/moonlight-embedded/issues/716#issuecomment-445205242
|
||||
```
|
||||
sudo shutdown -r now
|
||||
```
|
||||
Reference in New Issue
Block a user