This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
howto:linux:install:raspbian [2013/05/25 15:32] jehicks Line 19 of the init.d script had a $ not an & on the end. |
howto:linux:install:raspbian [2014/07/22 20:35] nx3 [Install Oracle Java for ARM] |
||
---|---|---|---|
Line 8: | Line 8: | ||
http:// | http:// | ||
+ | " | ||
+ | |||
+ | Download Java from (this might change) | ||
+ | http:// | ||
==== Install Oracle Java for ARM ==== | ==== Install Oracle Java for ARM ==== | ||
Download Oracle JDK8 for ARM on your RaspberryPi and get the resulting file to your ' | Download Oracle JDK8 for ARM on your RaspberryPi and get the resulting file to your ' | ||
- | [[http://jdk8.java.net/fxarmpreview/index.html]] | + | http://www.oracle.com/technetwork/java/ |
Oracle provide a good installation guide at: | Oracle provide a good installation guide at: | ||
Line 19: | Line 23: | ||
==== Configure Java ==== | ==== Configure Java ==== | ||
- | Switch to " | ||
- | < | ||
- | |||
Change the owner of JAVA: | Change the owner of JAVA: | ||
- | < | + | < |
Set where the Java components are installed: | Set where the Java components are installed: | ||
< | < | ||
- | update-alternatives | + | sudo update-alternatives |
- | update-alternatives | + | sudo update-alternatives |
- | update-alternatives --set java / | + | sudo update-alternatives --set java / |
</ | </ | ||
- | Now exit " | + | Set version |
- | < | + | < |
+ | sudo update-alternatives –config javac | ||
+ | sudo update-alternatives –config java | ||
+ | </ | ||
+ | |||
+ | Check versions | ||
+ | < | ||
+ | java -version | ||
+ | javac -version | ||
+ | </ | ||
- | Check if JAVA works (version | + | Version |
< | < | ||
pi@raspberrypi ~ $ java -version | pi@raspberrypi ~ $ java -version | ||
Line 110: | Line 120: | ||
start) | start) | ||
# start Serviio in background mode | # start Serviio in background mode | ||
- | su -l $User -c "/ | + | su -l $User -c "/ |
echo "Start Serviio..." | echo "Start Serviio..." | ||
;; | ;; | ||
Line 151: | Line 161: | ||
Compiling libaacplus | Compiling libaacplus | ||
< | < | ||
+ | sudo apt-get install autoconf | ||
+ | sudo apt-get install libtool | ||
cd /home/pi/ | cd /home/pi/ | ||
mkdir src | mkdir src | ||
Line 167: | Line 179: | ||
git clone git:// | git clone git:// | ||
cd x264 | cd x264 | ||
- | ./configure --host=arm-unknown-linux-gnueabi --enable-static | + | ./configure --host=arm-unknown-linux-gnueabi --enable-static |
make | make | ||
sudo make install | sudo make install | ||
Line 175: | Line 187: | ||
libvpx is an emerging open video compression library which is gaining popularity for distributing high definition video content on the internet. FFmpeg supports using the libvpx library to compress video content. To acquire and build libvpx, perform the following: | libvpx is an emerging open video compression library which is gaining popularity for distributing high definition video content on the internet. FFmpeg supports using the libvpx library to compress video content. To acquire and build libvpx, perform the following: | ||
< | < | ||
+ | sudo apt-get install checkinstall | ||
cd / | cd / | ||
git clone http:// | git clone http:// | ||
Line 180: | Line 193: | ||
./configure | ./configure | ||
make | make | ||
- | sudo checkinstall --pkgname=libvpx --pkgversion=" | + | sudo checkinstall --pkgname=libvpx --pkgversion=" |
- | | + | |
</ | </ | ||
Line 187: | Line 199: | ||
librtmp provides support for the RTMP content streaming protocol developed by Adobe and commonly used to distribute content to flash video players on the web. FFmpeg supports using the librtmp library to stream content from RTMP sources. To acquire and build librtmp, perform the following: | librtmp provides support for the RTMP content streaming protocol developed by Adobe and commonly used to distribute content to flash video players on the web. FFmpeg supports using the librtmp library to stream content from RTMP sources. To acquire and build librtmp, perform the following: | ||
< | < | ||
+ | sudo apt-get install libssl-dev | ||
cd / | cd / | ||
git clone git:// | git clone git:// | ||
cd rtmpdump | cd rtmpdump | ||
make SYS=posix | make SYS=posix | ||
- | sudo checkinstall --pkgname=rtmpdump --pkgversion=" | + | sudo checkinstall --pkgname=rtmpdump --pkgversion=" |
- | | + | |
</ | </ | ||