Installing linux players on fedora.

November 2, 2008 at 1:50 pm (Linux codecs, Linux installation, linux apps, Audio / Video) (, , , , , , )

This article is about using redhat package manager (RPM) to install Mplayer, xmms player, real player etc… on Fedora and redhat. I hope same techniques can be used for Suse and Mandriva.

For each of the given names of packages  below visit www.rpmfind.net or rpmsearch, and copy and paste the package name.

===============================================================================================

edit on 19/01/2010

Now it is much easier to install programs using yum and apt-get than from installing from the source. If you have set your repositaries correctly, following should work.

for  installing both mplayer and vlc player

p { margin-bottom: 0.08in; }

sudo apt-get install gmplayer vlc (for debian based systems)

yum install mplayer-gui vlc (for rpm based systems)

The information below were written two years ago and pretty much deprecated by now. :)

================================================================================================

Indentify your architecture (for pentium, dual core, C2D, athlon XP it’s i386 (x86); for 64-bit it’s x86_64. Learn more about RPM’s on my “Managing RPM’s” blog on linux installation category (This post may be pending). For example, you have p4, fedora9 and you want xmms, you choose

xmms-1.2.11-1.20071117cvs.1.fc9.i386.rpm note fc9 tag and i386 (if no tag is there, or noarch is there, you can choose for any architecture/fedora version).Package name with FC9 i386 compitable link as example.

1.Mplayer

mplayer-1.0-0.44.rc2.fc9.i386.rpm

2.Realplayer

http://www.real.com/realcom/R?href=http://forms.real.com/real/player/download.html?f=unix/RealPlayer11GOLD.rpm (for all fedora dist, any arch)

3.Helixplayer

HelixPlayer-1.0.9-2.fc9.i386.rpm

4.xmms player, for this you need

xmms

xmms-1.2.11-1.20071117cvs.1.fc9.i386.rpm

xmms-mp3

xmms-mp3-1.2.10-16.fc7.i386.rpm

continue with xmms-wma, xmms-skins if necessary xmms-libs

5. Gstreamer-ffmpeg

gstreamer-ffmpeg-0.10.5-1.fc9.i386.rpm

for mp3 for gstreamer use fluendo codec (google this to find a downloadable link)

for installing RPM’s, type in command line

su -

passwd:(Enter your pasword here)

rpm -ivh (rpm file) example:

rpm -ivh /home/malshan/HelixPlayer-1.0.9-2.fc9.i386.rpm

if no dependency errors found, now you’ve got program installed. Right clicking on a file on your explorer and saying to open with this program automatically sets that type of file with the program.

enjoy!

If any errors found, please reply.

sudo apt-get install gmplayer (for debian based systems)

yum install mplayer-gui (for rpm based systems)

Permalink Leave a Comment

Mounting NTFS on linux (if not auto mounted)

November 2, 2008 at 3:14 am (Linux installation) (, , , )

This article is about linux distribution which support NTFS but not automount them. ex: Ubuntu (<7), fedora (>4) etc. More newer ones will have drives mounted on /mnt or /media

Many people complain about cannot able to access windows NTFS partitions in linux. Here’s some help.

Open your console/command line, and type:

su -

passwd:(enter your passwd here)

this will login you as admin inside commandline. Now type,

fdisk -l

this will show a list of drives (mounted/unmounted) — indentify your windows drives by size (in kB – in Blocks column) and note down the device name under device column. If you have more than one HDD, the fdisk output gives them different letters starting from a,b. ex: primary hard partitions will start from sda, here i have shown only the output for my second hard drive which is sdb).

for example:

Device Boot      Start         End         Blocks                   Id           System
/dev/sdb1               1        1305         10482381             c           W95 FAT32 (LBA)
/dev/sdb2            1306     16708     123724597+         f           W95 Ext’d (LBA)
/dev/sdb3   *      16709     16721   104422+              83          Linux
/dev/sdb4           16722     19929    25768260            8e          Linux LVM
/dev/sdb5            1306      9137      62910508+          7            HPFS/NTFS

note down the /dev/sdb5 in a paper along with the drive name (identified by size), which is a NTFS partition.

now goto /mnt and make a directory

cd /mnt && mkdir (whatever name you call the drive)

ex: mkdir malshan

now we need to open rc.local file, any command written here will be executed at boot

gedit /etc/rc.d/rc.local

if you don’t have gedit type,

kwrite /etc/rc.d/rc.local

in the window, add this line to end (append)

mount (device) (folder you created)

ex: mount /dev/sdb5 /mnt/malshan

will mount the drive to /mnt/malshan, now you can just

cd /mount/malshan && ls to see the contents; after rebooting

(Note that you can type mount /dev/sdb5 /mnt/malshan in command line to mount it now, but that’s temparaly)

follow same procedure for other drives, after mkdir different folders (ex: malshan2). ex:

mount /dev/sdb6 /mnt/malshan2 , add to rc.local.

Note that, mounted drives are considered as normal linux folders and files.

if you need to mount an iso image, you can use

mount -t iso9660 -o loop (imagefile) (mount folder) ex:

mount -t iso9660 -o loop /mnt/storage/fedora9_live.iso /media/fedora

if your linux doesn’t auto run pen drives, (no pop up) check /media folder, where normally CD’s, DVD’s or flash drives are auto mounted.

enjoy!

Permalink 1 Comment

Follow

Get every new post delivered to your Inbox.