LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-24-2006, 04:25 PM   #1
ricka343
Member
 
Registered: Jun 2006
Posts: 54

Rep: Reputation: 15
Installing Mplayer


As u know i am new to linux and have installed FC 5 on my system I want to install Mplayer on it what shud i do please give complete details
 
Old 06-24-2006, 04:31 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
http://home.gagme.com/greg/linux/fc5-tips.php has detailed instructions which work well.
 
Old 06-24-2006, 11:06 PM   #3
ricka343
Member
 
Registered: Jun 2006
Posts: 54

Original Poster
Rep: Reputation: 15
i have tried it but it says ..

[root@localhost ~]# yum -y --disablerepo=livna install mplayer mplayer-skins mplayer-fonts
Loading "installonlyn" plugin


Error getting repository data for livna, repository not found
 
Old 06-24-2006, 11:44 PM   #4
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 336

Rep: Reputation: 36
This worked for me

http://www.mjmwired.net/resources/mplayer-fedora.html
 
Old 06-24-2006, 11:47 PM   #5
ricka343
Member
 
Registered: Jun 2006
Posts: 54

Original Poster
Rep: Reputation: 15
Yaa i went thru this too but got tamgled can you help
 
Old 06-25-2006, 12:26 AM   #6
alar
Member
 
Registered: Sep 2003
Location: Canada
Distribution: CentOS 5.5, Ubuntu 10.04, Linux Mint 11 gnome 64 bit
Posts: 336

Rep: Reputation: 36
Hope so
 
Old 06-25-2006, 02:25 AM   #7
ricka343
Member
 
Registered: Jun 2006
Posts: 54

Original Poster
Rep: Reputation: 15
i dont know what to download and how to install
 
Old 06-25-2006, 03:04 AM   #8
ricka343
Member
 
Registered: Jun 2006
Posts: 54

Original Poster
Rep: Reputation: 15
[root@localhost ~]# rpm -Uvh mplayer-1.0pre8-1.i386.rpm
warning: mplayer-1.0pre8-1.i386.rpm: Header V3 DSA signature: NOKEY, key ID b6d6aef5
error: Failed dependencies:
libxvidcore.so.4 is needed by mplayer-1.0pre8-1.i386
 
Old 06-25-2006, 04:24 AM   #9
krussell
Member
 
Registered: Jul 2003
Location: dhaka
Distribution: Slackware 11 (fixed), MEPIS
Posts: 241

Rep: Reputation: 30
hello
best choice is to take the original tar ball from mplayer website and './configure and make' and 'make install (as su)'.

before that please download all the win32 dlls from mplayerhq.hu and copy them in /usr/lib/win32 (if win32 doesnot exist create it).

and make sure you also download the 'fonts' and the 'skin' for mplayer. keep an eye on what is displayed after you 'make install' mplayer--that'll tell you where to copy the font and skin.
 
Old 06-25-2006, 05:11 AM   #10
Dummy-in-Linux
Member
 
Registered: Jun 2004
Location: Bangkok, Thailand
Distribution: Fedora 25 86_64
Posts: 357

Rep: Reputation: 32
Hello Ricka343

Her in easy steps what to do to get it working;

1) login as root user, open an terminal and
root@localhost]#gedit /etc/yum.conf

Now a text editor opens and with the yum config file

add the following lines

[greysector-all]
baseurl=http://rpm.greysector.net/yum/all/$basearch/
name=Grey Sector RPMs for all Fedora Core releases - $basearch
#mirrorlist=http://rpm.greysector.net/yum/mirrorlist-all
enabled=1
gpgkey=http://rpm.greysector.net/greysector-pubkey.txt

[greysector]
baseurl=http://rpm.greysector.net/yum/$releasever/$basearch/
name=Grey Sector RPMs for Fedora Core $releasever - $basearch
#mirrorlist=http://rpm.greysector.net/yum/mirrorlist-$releasever
enabled=1
gpgkey=http://rpm.greysector.net/greysector-pubkey.txt

save the file (with the same name)

then type root@localhost]#yum install mplayer

And everything go's all automatic

Of course not have to type root@localhost]#
 
Old 06-25-2006, 05:17 AM   #11
Dummy-in-Linux
Member
 
Registered: Jun 2004
Location: Bangkok, Thailand
Distribution: Fedora 25 86_64
Posts: 357

Rep: Reputation: 32
To make things more nice and smooth change

yum install "yum install mplayer" to

yum install mplayer mplayer-gui mplayerplug-in mplayer-skins mencoder mplayer-codecs mplayer-codecs-extra

With this you will have a fully working MPlayer which can play all pupulare file formats
 
Old 06-25-2006, 05:18 AM   #12
ricka343
Member
 
Registered: Jun 2006
Posts: 54

Original Poster
Rep: Reputation: 15
I got these errors after changing the yum config file :


Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 80, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 177, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 104, in doConfigSetup
self.getReposFromConfig()
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 135, in getReposFromConfig
parser.read(files)
File "/usr/lib/python2.4/site-packages/yum/parser.py", line 225, in read
IncludingConfigParser.read(self,filename)
File "/usr/lib/python2.4/site-packages/yum/parser.py", line 126, in read
ConfigParser.read(self,filename)
File "/usr/lib/python2.4/ConfigParser.py", line 267, in read
self._read(fp, filename)
File "/usr/lib/python2.4/ConfigParser.py", line 462, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: ///etc/yum.repos.d/livna.repo, line: 1
'=1\n'
 
Old 06-25-2006, 05:23 AM   #13
Dummy-in-Linux
Member
 
Registered: Jun 2004
Location: Bangkok, Thailand
Distribution: Fedora 25 86_64
Posts: 357

Rep: Reputation: 32
Did you changed the information in yum.conf or did you add the lines I give?
 
Old 06-25-2006, 05:40 AM   #14
ricka343
Member
 
Registered: Jun 2006
Posts: 54

Original Poster
Rep: Reputation: 15
i just added the file this is how it looks now


# This is the fedorafaq.org yum.conf for Fedora Core 5.
#
# Note that you also need the rest of the configuration
# as described at http://www.fedorafaq.org/#yumconf
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
# Don't check keys for localinstall
gpgcheck=0
plugins=1
metadata_expire=1800
# Changed this because some mirrors go down and then
# re-trying takes forever.
timeout=7


# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d


[greysector-all]
baseurl=http://rpm.greysector.net/yum/all/$basearch/
name=Grey Sector RPMs for all Fedora Core releases - $basearch
#mirrorlist=http://rpm.greysector.net/yum/mirrorlist-all
enabled=1
gpgkey=http://rpm.greysector.net/greysector-pubkey.txt

[greysector]
baseurl=http://rpm.greysector.net/yum/$releasever/$basearch/
name=Grey Sector RPMs for Fedora Core $releasever - $basearch
#mirrorlist=http://rpm.greysector.net/yum/mirrorlist-$releasever
enabled=1
gpgkey=http://rpm.greysector.net/greysector-pubkey.txt
 
Old 06-25-2006, 05:44 AM   #15
Dummy-in-Linux
Member
 
Registered: Jun 2004
Location: Bangkok, Thailand
Distribution: Fedora 25 86_64
Posts: 357

Rep: Reputation: 32
That seems to look good.

The error you get has something to do with a repo you have configurated in the folder /etc/yum.repos.d

Possible it will work if you try it for a few times
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Mplayer & Mplayer GUI simplydc3 Linux - Software 3 06-22-2006 03:01 AM
Installing Mplayer Grisnak Linux - Software 3 07-29-2004 10:25 AM
please, someone , need help installing mplayer snakeo2 Linux - Newbie 1 04-14-2004 10:57 PM
How to install mplayer gui after installing mplayer kaega2 Linux - Software 5 10-07-2003 10:44 AM
hi, help installing mplayer codename000 Linux - Software 11 03-30-2003 09:24 PM


All times are GMT -5. The time now is 10:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration