LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help installing mplayer (https://www.linuxquestions.org/questions/linux-newbie-8/help-installing-mplayer-168193/)

snakeo2 04-09-2004 12:49 PM

Help installing mplayer
 
I have been trying t o install mplayer for a few days now, read a few threads and got some ideas, however they did not work. I went to mplayerhq.hu and downloaded the rpm package for redhat. i went to the console and and typed
rpm -Uvh mplayer-common-1.0pre3try2-1.i386.rpm mplayer-gui-1.0pre3try2-1.i386.rpm mplayer-skin-default-1.0-2.noarch.rpm lame-libs-3.93.1-1.i386.rpm

my first question is should i save the rpm package in /usr/share or in /home/user?
i saved the rpm package in my home directory
and when i tried to install this is the message i go
error: open of mplayer-common-1.Opre3try2-1.i386.rpm failed: No such file or directory
error: open of mplayer-gui-1.Opre3try2-1.i386.rpm failed: No such file or directory
error: open of mplayer-skin-default-1.0-2.noarch.rpm failed: No such file or directory
error: open of lame-libs-3.93.1-1.i386.rpm failed: No such file or directory

i then created a directory and tried to move the rpm to the newly created directory
here is what i did

mkdir Mplayer
mv mplayer-common-1.Opre3try2-1.i386.rpm/Mplayer
here is the message i received
mv: missing file argument
Try `mv --help' for more information.

am i missing somethng? anyone that can point in the right direction ,
thanks in advance for your time

aaa 04-09-2004 01:01 PM

Quote:

mv mplayer-common-1.Opre3try2-1.i386.rpm/Mplayer
Try :
mv mplayer-common-1.Opre3try2-1.i386.rpm Mplayer

salparadise 04-09-2004 01:01 PM

there should be a space between the end of the package address and the destination address when using the mv command

to be honest it's kind of hard to understand what you're doing

install the rpm with (as root)

rpm -ivh package.name

alternatively
go here http://voidmain.is-a-geek.net/redhat...must_have.html
and follow the instructions for apt-get and then for synaptic
i installed mplayer this afternoon using it (it's a bit excellent)
first time ever with redhat (though I still can't get it to play dvd's)
(it comes as default with mandrake and works straight away)

NarutoKun 04-09-2004 01:18 PM

If you have RedHat or Fedora check out rpm.livna.org

after configuring yum from the instructions given. run
yum install mplayer

snakeo2 04-09-2004 01:37 PM

i tried what you suggested salparadise
here is what im getting
rpm -ivh mplayer-common-1.Opre3try2-1.i386.rpm
error: open of mplayer-common-1.Opre3try2-1.i386.rpm failed: No such file or directory

i also tried to move the rpm after amending the command to include a space after the address of the package and the address of the destination, here are the results

mv mplayer-common-1.Opre3try2-1.i386.rpm Mplayer
mv: can't stat source mplayer-common-1.Opre3try2-1.i386.rpm

salparadise 04-09-2004 01:50 PM

hmmm

things to make absolutely sure of:

that you've typed the rpm package name exactly right
easy to mess up with a name that long
(personally, i'd rename them to mplayer.rpm and mplayer-gui.rpm and then install them)

that you're in the same directory as the rpm
if you've moved it to another dir and haven't cd'd into it then the rpm command won't work
unless you add the full path to it into the command

example: rpm -ivh /home/user/mplayer.blah.blah.rpm

to check where you are with the command line, type
pwd
(print working directory)

NarutoKun 04-09-2004 01:55 PM

just type

rpm -ivh mplayer*

snakeo2 04-09-2004 02:42 PM

still no luck installing this program. i found out that mplayer has dependecies, so i went back to mplayerhq.org and downloaded all dependecies. i then tried to install all of them at once as stated by the how to install and still no luck
here is the error that im getting
any advise will be appreciated

rpm -Uvh mplayer-common-1.0pre3try2-1.i386.rpm mplayer-gui-1.0pre3try2-1.i386.rpm mplayer-skin-default-1.0-2.noarch.rpm lame-libs-3.9
warning: mplayer-common-1.0pre3try2-1.i386.rpm: V3 DSA signature: NOKEY, key ID
error: open of mplaye failed: No such file or directory
error: open of r-gui-1.0pre3try2-1.i386.rpm failed: No such file or directory

snakeo2 04-09-2004 02:52 PM

i think im getting closer
here is what im getting now after typing the command

rpm -Uvh mplayer-common-1.0pre3try2-1.i386.rpm mplayer-gui-1.0pre3try2-1.i386.rpm mplayer-skin-default-1.0-2.noarch.rpm lame-libs-3.95.1-1.i386.rpm
warning: mplayer-common-1.0pre3try2-1.i386.rpm: V3 DSA signature: NOKEY, key ID 75aa026a
Preparing... ########################################### [100%]
1:lame-libs ########################################### [ 25%]
2:mplayer-common ########################################### [ 50%]
3:mplayer-gui ########################################### [ 75%]
4:mplayer-skin-default ########################################### [100%]

im sure is not normal that some dependencies did not install %100 . Also , what do you guys make of the error listed above?
any advise will be apreciated

NarutoKun 04-09-2004 03:02 PM

u already successfully install the packages.

100% means total package
there are 4 packages that means 25% each
Therefore after installing each one of them the comletion is added by 25%
That's how rpm shows the progress of installing packages.

try to run mplayer now it should work or maybe gmplayer if u want gui.


Cheers.

snakeo2 04-09-2004 03:25 PM

beautiful
thanks for the help everyone

this is a stupid question
where do i find mplayer
i tried
run mplayer
bash: run: command not found

run /usr/bin/mplayer
bash: run: command not found
thanks in advance

salparadise 04-09-2004 03:27 PM

don't type run
just the program name

snakeo2 04-09-2004 04:09 PM

thanks for the advise salparadise, but its not working
can you tell me the exact command to run mplayer
thanks

salparadise 04-09-2004 04:26 PM

you should be able to open a terminal and type either

mplayer

or

gmplayer

and the program should launch

any errors encountered will show up by launching from the command line
whereas launching from the menus doesn't show error messages

the executable bits to the program should be in /usr/bin

if you get stuck and can't find them
open a terminal, su to root and type
updatedb
this will build a database of all files etc on the system
(it takes a couple of minutes to complete)
you can then type
locate xxx
where xxx is name of program or file

snakeo2 04-09-2004 05:10 PM

i was able to launch mplayer, but it doesnt seem to be working , when i try to play an mpeg file im getting this message

It seems there is no Xvideo support for your video card available.
Run 'xvinfo' to verify its Xv support and read DOCS/HTML/en/devices.html#xv!
See 'mplayer -vo help' for other (non-xv) video out drivers. Try -vo x11
Error opening/initializing the selected video_out (-vo) device.

what can i do to fix this problem??


All times are GMT -5. The time now is 12:09 AM.