Installing linux players on fedora.

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

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

Adding A/V support for linux: Install Mplayer

November 1, 2008 at 6:14 pm (Audio / Video, Linux codecs) (, , , , , )

This is for Mplayer installing: x86 based PC on Linux

mplayer running on FC9, gnome

mplayer

Many people are talking about cannot getting videos or sounds to play on linux. (except for ubuntu new)
Even if you have installed codecs, you should really go for this player: It can even play with win32 codecs; just need to drop in to folder!

go to http://www.mplayerhq.hu/design7/dload.html to check it out

download from
http://www.mplayerhq.hu/MPlayer/rele…1.0rc2.tar.bz2
untar it using your archeive manager (open- and drag and drop where you want to copy)
go in to the folder in command line (termina/console) and type

./configure –enable-gui

if no errors found (if you get dependency errors you’ve to install them first — look the list down)
then type

make

this takes about an hour ——- wait and hope for good luck — program is being compiled from the source code………
then if it’s completed without errors, then go admin in command line
su –
passwd: (enter your admin passwd here)
(NOTE: you can always type “root” as username and passwd at linux login screen to be admin from the start-if you are not familiar with command line-so you can use normal GUI to copy files without permission problems.)
type:

make install

will install mplayer to every user but, without codecs
download codecs at
http://www.mplayerhq.hu/MPlayer/rele…071007.tar.bz2
untar it as i said before, and copy the codec files (not the folder) in to
/usr/local/lib/codecs, if no codecs folder exist, create one. (hope you know to use cp and mkdir commands)

now goto the codecs path and type (as admin/root)

chmod ugo+rwx *.*

now you can type

mplayer filename

to play anyfile!
ex: mplayer *.* will play all files in directory.

for the gui; use gmplayer instead
in order to GUI to work, you need skins, download this:
http://www.mplayerhq.hu/MPlayer/skins/Blue-1.7.tar.bz2
untar it,
and paste the whole folder
/home/(your user name)/.mplayer/skins
or
~/.mplayer/skins (as normal user, not admin)
go inside the folder and use chmod as before (as admin)
enjoy!
If need more help, please reply.
I’m using fedora 9 (and not windows)

dependencies:
If configure says your machine not having something — you can just ignore them if they are optional
or else goto www.rpmfind.net search and type it there to find what you want (for Suse, mandriva and fedora only)

Check for my “Compiling Linux apps from source” page for more help. 

Permalink 5 Comments