LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-16-2004, 12:40 PM   #1
eggoz
Member
 
Registered: Feb 2003
Posts: 159

Rep: Reputation: 30
Mplayer won't start


I just installed mplayer on my Redhat 9 machine. I followed these directions and the installation worked just fine. Now when I try to run mplayer by typing mplayer at the command line, it tells me command not found. When I run rpm -q mplayer* from /tmp it turns up nothing. When I run the same command from /, it finds mplayer common, gui, skins. And finally, man mplayer turns up the manual. Any ideas? Thanks.
 
Old 07-16-2004, 02:12 PM   #2
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
according to that site, the rpm should have installed mplayer into /usr/bin, so cd into /usr/bin, type dir, and see if mplayer is listed; if not, the rpm didn't install

make sure you install the rpm like so (i hope i get the command right...)
rpm -Uvh package.rpm

you should get 2 100%'s

mplayer depends on so many libs, that it is often better to compile from source; just download the source from mplayer's homepage (and the win32 codecs)
untar the codecs, and place the files in /usr/lib/win32

untar mplayer's source (use the version 1.0p4)
./configure --enable-gui
make
su
make install
exit

then you can install a theme; run mplayer and gmplayer once to make sure they are installed (but they won't do anything or error out since you didn't tell them to play anything)
place a skin in /usr/local/share/mplayer/Skin/, and then create a symlink called 'default' to the skin-name
 
Old 07-17-2004, 03:19 PM   #3
linuxnubx
Member
 
Registered: Jul 2004
Posts: 92

Rep: Reputation: 15
Try gmplayer in console. That's what I was told and it worked for me, but I still have problems starting files/dvds...
 
Old 07-29-2004, 10:00 AM   #4
Rathann
Member
 
Registered: Jul 2004
Location: Poland
Distribution: RedHat 7.3/8.0/9, Fedora Core 1/2/3/4
Posts: 35

Rep: Reputation: 15
Re: Mplayer won't start

Quote:
Originally posted by eggoz
I just installed mplayer on my Redhat 9 machine. I followed these directions and the installation worked just fine. Now when I try to run mplayer by typing mplayer at the command line, it tells me command not found. When I run rpm -q mplayer* from /tmp it turns up nothing. When I run the same command from /, it finds mplayer common, gui, skins. And finally, man mplayer turns up the manual. Any ideas? Thanks.
What you haven't noticed (and it's explained on the website) is that the GUI version only contains gmplayer and not mplayer. If you want mplayer (==the command line version), you need to install the mplayer-1.x-x.rpm.
 
Old 07-29-2004, 10:45 AM   #5
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
try "which mplayer" - that should find the binary you installed - of course you can go search by hand.

Problem could be, that it got installed in a directory, which is not in your PATH such as /usr/local/bin
If you found it (somewhere) - check that.

In that case you will have to call it with its full pathname like this /PATH/TO/MPLAYER/mplayer or add this directory to your $PATH environment-variable
You can do this by hand in a terminal ( export PATH=$PATH:/PATH/TO/MPLAYER) or do it permanently by adding it to your shell's startup scripts ( $HOME/.bashrc or ./$HOME/.bash_profile)

try it

Jochen
 
  


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
mplayer will not start in suse and other distros chemdawg Linux - General 2 11-01-2005 05:08 PM
Starting Mplayer via start menu badbunny Linux - Newbie 2 08-10-2005 10:55 PM
start at index x in playlist with mplayer samel_tvom Linux - Software 1 08-06-2005 02:09 AM
Can't start MPlayer ICO Linux - Software 7 02-15-2004 08:26 AM
mplayer auto start FXRS Linux - Software 5 07-18-2003 10:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:49 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
Open Source Consulting | Domain Registration