Tuesday, June 30, 2009

play MP3 on Fedora

To enable MP3 support, the rpmfusion repository should be added to Yum.

Fedora 9, 10, and 11

  • $ su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm'
  • $ su -c 'rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'
Once rpmfusion is enabled, the easiest way to enable all the freeworld/nonfree codec support, is to:
  • yum update @sound-and-video
Amarok 1.4 (Xine Engine)
  • yum install amarok-extras-freeworld
Amarok 1.4 (Helix Engine)
  •  sudo rpm -ivh RealPlayer11GOLD.rpm
  • Following is Required for Real player - dependencies
  •  sudo yum install compat-libstdc++-33
For Amarok 2 (using phonon-backend-gstreamer):
  • yum install gstreamer-plugins-ugly
  • yum install gstreamer-plugins-mp3
  • http://fedorasolved.org/post-install-solutions/yum-config
  • http://amarok.kde.org/wiki/MP3_on_Fedora_Core_5
  • http://www.fedorafaq.org/#mp3&cd=1&hl=en&ct=clnk&gl=in&client=firefox-a
  • http://www.linuxquestions.org/questions/linux-desktop-74/unable-to-play-mp3s-on-fedora-core-5-475962/

Friday, August 29, 2008

Installation of Adobe Flash Player 9 on 64 bit Linux

Follow the simple series of commands in order to install the Adobe Flash player 9 on 64 bit Linux.

Can't view open flash chart or can't able to play flash on your browser, follow the simple steps to install it on 64 bit linux machines.

  1. wget http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz
  2. tar -zxf install_flash_player_9_linux.tar.gz
  3. mkdir ~/.mozilla/plugins/
  4. mv install_flash_player_9_linux/flashplayer.xpt install_flash_player_9_linux/libflashplayer.so ~/.mozilla/plugins/
  5. nspluginwrapper -i ~/.mozilla/plugins/libflashplayer.so
  6. close all firefox instances and restart iceweasel/firefox/whatever

Thursday, July 10, 2008

Linux Boot Loader Recovery

Needs to Reinstall Windows and wants to Save Your Linux Boot Loader....

Save your Linux boot loader for windows boot loader (for any linux) innocent

  1. sudo su root
  2. dd if=/dev/sda of=/media/drive_c/ubuntu7.img count=1 bs=512
  3. now open windows boot.ini file and append following line

    1. c:\ubuntu7.img="Load My Ubuntu boot Loader"

  • /dev/sda stands for your hard drive it might be different use according to your hard disk.
If you don't know you can get it from the following command
  • sudo su root
  • cfdisk
  • /media/drive_c is the mounted file system for your Drive C
If you are not able to mount, then use the path ~/home/ubuntu7.img and you can take back up of the file using any USB Device. and then switch to windows and put it into the boot.ini and modify it

Tested with Ubuntu 7.10 and 8.04 and Fedora 7, but it will work for any Linux OS
  • How it works?
This will generate a file named ubuntu7.img which contains starting 512 bytes of your hard disk.