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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-16-2004, 12:40 PM
|
#1
|
Member
Registered: Feb 2003
Posts: 159
Rep:
|
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.
|
|
|
07-16-2004, 02:12 PM
|
#2
|
Member
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987
Rep:
|
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
|
|
|
07-17-2004, 03:19 PM
|
#3
|
Member
Registered: Jul 2004
Posts: 92
Rep:
|
Try gmplayer in console. That's what I was told and it worked for me, but I still have problems starting files/dvds...
|
|
|
07-29-2004, 10:00 AM
|
#4
|
Member
Registered: Jul 2004
Location: Poland
Distribution: RedHat 7.3/8.0/9, Fedora Core 1/2/3/4
Posts: 35
Rep:
|
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.
|
|
|
07-29-2004, 10:45 AM
|
#5
|
Senior Member
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 02:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|