This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
howto:linux:install:raspbian [2014/02/20 18:31] nx3 [FFMPEG] |
howto:linux:install:raspbian [2016/01/27 16:45] szati [FFMPEG] |
||
---|---|---|---|
Line 8: | Line 8: | ||
http:// | 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 ' | ||
- | [[https://jdk8.java.net/download.html]] | + | http://www.oracle.com/technetwork/ |
Oracle provide a good installation guide at: | Oracle provide a good installation guide at: | ||
Line 19: | Line 20: | ||
==== Configure Java ==== | ==== Configure Java ==== | ||
- | Switch to " | + | Decompress the tar file, the file name will change depending on the version you download |
- | < | + | < |
+ | sudo tar zxvf jdk-8u60-linux-arm32-vfp-hflt.tar.gz -C /opt | ||
+ | </ | ||
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 --install | + | sudo update-alternatives --install / |
- | update-alternatives --install | + | sudo update-alternatives --install / |
- | update-alternatives --set java / | + | sudo update-alternatives --set java / |
</ | </ | ||
- | Now exit " | + | Set version, you get to set as new versions of Raspbian have JDK7 preinstalled, |
- | < | + | < |
+ | 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 | ||
- | java version "1.8.0-ea" | + | java version "1.8.0_60" |
- | Java(TM) SE Runtime Environment (build 1.8.0-ea-b36e) | + | Java(TM) SE Runtime Environment (build 1.8.0_60-b27) |
- | Java HotSpot(TM) Client VM (build 25.0-b04, mixed mode) | + | Java HotSpot(TM) Client VM (build 25.60-b23, mixed mode) |
</ | </ | ||
Line 48: | Line 60: | ||
Enter the following: | Enter the following: | ||
- | < | + | < |
Exit nano making sure you save the file. | Exit nano making sure you save the file. | ||
Line 56: | Line 68: | ||
Put the entries at the end of the file: | Put the entries at the end of the file: | ||
< | < | ||
- | export JAVA_HOME="/ | + | export JAVA_HOME="/ |
export PATH=$PATH: | export PATH=$PATH: | ||
</ | </ | ||
Line 110: | Line 122: | ||
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 156: | Line 168: | ||
mkdir src | mkdir src | ||
cd src | cd src | ||
- | wget http://217.20.164.161/~tipok/ | + | wget -O libaacplus-2.0.2.tar.gz |
tar -xzf libaacplus-2.0.2.tar.gz | tar -xzf libaacplus-2.0.2.tar.gz | ||
cd libaacplus-2.0.2 | cd libaacplus-2.0.2 | ||
./ | ./ | ||
+ | You have error message here. Change the line in autogen to " | ||
make | make | ||
sudo make install | sudo make install | ||
Line 169: | Line 182: | ||
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 179: | Line 192: | ||
sudo apt-get install checkinstall | sudo apt-get install checkinstall | ||
cd / | cd / | ||
- | git clone http://git.chromium.org/ | + | git clone https:// |
cd libvpx | cd libvpx | ||
./configure | ./configure | ||
make | make | ||
- | sudo checkinstall --pkgname=libvpx --pkgversion=" | + | sudo checkinstall --pkgname=libvpx --pkgversion=" |
- | | + | |
</ | </ | ||
Line 195: | Line 207: | ||
cd rtmpdump | cd rtmpdump | ||
make SYS=posix | make SYS=posix | ||
- | sudo checkinstall --pkgname=rtmpdump --pkgversion=" | + | sudo checkinstall --pkgname=rtmpdump --pkgversion=" |
- | | + | |
</ | </ | ||