Labels

Saturday, 3 January 2015

[Fedora] Watch video and listen to music in fedora 21

Please note that most of this software is potentially patent encumbered and therefore will not be included in the default official Fedora repositories. Please read this wiki page for more information: https://fedoraproject.org/wiki/Forbidden_items

Step 1:

Install RPM Fusion (Free & Non-Free) repositories:

su

dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm

 


Step 2:
Install the multimedia codecs:


If you are using GNOME:

su -c 'yum install gstreamer{1,}-{ffmpeg,libav,plugins-{good,ugly,bad{,-free,-nonfree}}} ffmpeg'


If you are using KDE, you might prefer xine instead of Gstreamer:

su -c 'yum install xine-lib* k3b-extras-freeworld'


Step 3:
If you also plan to listen to internet radio streams via rhythmbox for example, you need a few more packages:

su -c 'yum install gstreamer{1,}-{plugin-crystalhd,ffmpeg,plugins-{good,ugly,bad{,-free,-nonfree,-freeworld,-extras}{-extras}}} ffmpeg libmpg123 lame-libs'


Step 4:
Install VLC media player:

su -c 'yum install vlc'

Good luck :)

 

Source: https://ask.fedoraproject.org/en/question/9111/sticky-what-plugins-do-i-need-to-install-to-watch-movies-and-listen-to-music/

 

Thursday, 1 January 2015

[Fedora,Ubuntu,Opensuse...] Install Adobe Flash player on all Linux system

Prepare:

 Information: Base on your linux system, mozilla plugin directory will place in one of the below:

if your linux architecture is x64:
$HOME/.mozilla/plugins
program_directory/plugins
/usr/lib64/mozilla/plugins
/usr/lib64/xulrunner/plugins


if your linux architecture is x86:
$HOME/.mozilla/plugins
program_directory/plugins
/usr/lib/mozilla/plugins
/usr/lib/xulrunner/plugins


In my fedora system x64 architecture it is:
/usr/lib64/mozilla/plugins



Do it:

Step 1: Go to Adobe Flash player download page http://get.adobe.com/flashplayer/
Step 2: Select .tar.gz for linux in "Your system" selection.
Step 3: Click "Download now" and save this file (example : Downloads folder) in Downloads directory
Step 4: Open terminal, navigation to downloaded file and extract it.

mkdir adobeflash
tar -xzvf flashPlayer.tar.gz -C adobeflash
 

Step 5: Login with root user (su root, enter and type password for root user) and move to adobeflash directory
Step 6: cp -r usr/   /usr

Step 7: cp libflashplayer.so  /usr/lib64/mozilla/plugins

Step 8: Restart firefox and enjoy :)

Note: If it still not effect, it is because your selinux is turn on, you can turn it off by open terminal -> login with root -> execute command setenforce 0 -> restart firefox