Really great script. Would it be possible to include the (optional) Web download? So, it could be downloaded and installed by demand (and perhaps even be stored in persistent home). Would be great.
Hi,
another script to install something, while knoppix is running!
One problem is, that it'll only work, if browser/realplayer is started from shell (konsole)...
But for the moment you can live with it, can't you?
Also you need to reopen, current shell or just do a:
And I'll try to fix it )Code:. ~/.bashrc
cu
Fabian
PS: Enjoy!
Code:#!/bin/bash # # Install realplayer + plugin from local directory # # Note that browser plugin only works with programs started from commandline for now! # # GPL # # Author: Fabian Franz <knx-rp@fabian-franz.de> RP_NAME="rp8_linux20_libc6_i386_cs2_rpm" if [ -f "$RP_NAME" ]; then mkdir -p /tmp/rp_inst cp $RP_NAME /tmp/rp_inst/ cd /tmp/rp_inst # Unpack it rpm2cpio $RP_NAME | cpio --extract --make-directories # Install it mkdir -p $HOME/software cp -a usr/lib/RealPlayer8 $HOME/software/ # Install mozilla plugin mkdir -p $HOME/.mozilla/plugins/ ln -sf $HOME/software/RealPlayer8/rpnp.so $HOME/.mozilla/plugins/ # Install netscape plugin mkdir -p $HOME/.netscape/plugins/ ln -sf $HOME/software/RealPlayer8/rpnp.so $HOME/.netscape/plugins/ # Scan for new plugins nspluginscan # Make start-script and symlinks mkdir -p $HOME/bin echo "#!/bin/sh" > $HOME/bin/realplayer echo "LD_LIBRARY_PATH=$HOME/software/RealPlayer8:$LD_LIBRARY_PATH exec $HOME/software/RealPlayer8/realplay \"\$@\"" >> $HOME/bin/realplayer chmod 755 $HOME/bin/realplayer ln -sf $HOME/bin/realplayer $HOME/bin/realplay ln -sf $HOME/bin/realplayer $HOME/bin/rvplayer # setuo $HOME/.bashrc mkdir -p $HOME/bin mkdir -p $HOME/lib mkdir -p $HOME/man cp $HOME/.bashrc $HOME/.bashrc.templ cat $HOME/.bashrc.templ | grep -v "export MANPATH=\$HOME/man" | grep -v "export PATH=\$HOME/bin/" | grep -v "export LD_LIBRARY_PATH=\$HOME/lib" > $HOME/.bashrc echo "export MANPATH=\$HOME/man/:\$MANPATH" >> $HOME/.bashrc echo "export PATH=\$HOME/bin/:\$PATH" >> $HOME/.bashrc echo "export LD_LIBRARY_PATH=\$HOME/lib:\$LD_LIBRARY_PATH" >> $HOME/.bashrc rm -f $HOME/.bashrc.templ # cleanup cd $HOME rm -rf /tmp/rp_inst else echo "$RP_NAME is needed in current dir to install Realplayer" echo "Please download it from: http://scopes.real.com/real/player/unix/unix.html" fi
Really great script. Would it be possible to include the (optional) Web download? So, it could be downloaded and installed by demand (and perhaps even be stored in persistent home). Would be great.
It is not possible to store this file anywhere, because of the restrictive real-license, sorry.Originally Posted by probono
But once installed on a persistant home realplayer keeps to be available ...
cu
Fabian
I mean in case there is no realplayer rpm it should automatically do a
wget http://207.188.7.150/1528f27c56b3014...6_i386_cs2_rpm
like the flash-installscript asks whether to download on the fly.
Could you please addat the end of your script? That would prevent the annoying registration window from popping up when you start RealPlayer.Code:# no nasty registration screen - by probono cat >> ~/.RealNetworks_RealPlayer_60 <<EOF ERegistered=1 EOF
probono
Solved:Originally Posted by Fabianx
just addat the end of your script.Code:# menu entry and MIME file association - by probono cat >> ~/.kde/share/applnk/Multimedia/Viewers/realplayer.desktop <<EOF [Desktop Entry] Comment= Exec=\$HOME/bin/realplayer Icon=realplayer InitialPreference=1 MimeType=audio/x-pn-realaudio;Application Name=RealPlayer ServiceTypes= Terminal=false Type=Application EOF
This does the following:
* creates a KDE menu entry for realplayer
* sets MIME file associations
probono
Has anyone got the realplayer *plugin* to work within Konqueror? On Knoppix or any other distribution? I would like to watch the movie in http://www.tagesschau.de/sendungen/0...SPM830,FF.html in konqueror, but had no luck so far. It only says "Unable to load Netscape plugin for...". Is it just me?
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3
$29.77
Asus TUF B365M-PLUS GAMING Motherboard LGA 1151 Intel B365 DDR4 M.2 Micro ATX
$65.00
GIGABYTE B560M DS3H AC LGA1200 Intel B560 SATA 6Gb/s Micro ATX Intel Motherboard
$64.99
ASRock Rack EP2C612 WS LGA 2011-R3 server motherboard *FREE SHIPPING*
$150.00
Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD
$89.99
Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151
$31.95
Asus Prime B250M-C Motherboard Supports DDR4 Intel 7th Gen
$39.99
GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box
$112.00
BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled
$59.99