LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-15-2004, 02:22 PM   #1
tolstyi
Member
 
Registered: Oct 2004
Posts: 65

Rep: Reputation: 15
Manually removing MPlayer


I tried to install MPlayer 1.05 from source but was not succesful. Now I am trying to remove its components and all of its entrees manually. Is there a command that would clean my system from everything related to MPlayer so I could install a mdk package of Mplaye that came with the installation CD?
 
Old 11-15-2004, 02:32 PM   #2
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
make uninstall
 
Old 11-15-2004, 05:06 PM   #3
tolstyi
Member
 
Registered: Oct 2004
Posts: 65

Original Poster
Rep: Reputation: 15
make uninstall what, mplayer? Is there a specific dircetory I need to be in?
I tried

make uninstall mplayer

and I get no rule to make target 'uninstall'
Did I screw something up? I'm new to Linux as you can tell, so please be patient with my questions. thanks
 
Old 11-15-2004, 05:12 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 64
You use the Makefile from your install.

Brian1
 
Old 11-15-2004, 05:23 PM   #5
RHLinuxGUY
Member
 
Registered: Oct 2003
Distribution: Ubuntu 7.04
Posts: 889
Blog Entries: 1

Rep: Reputation: 30
What he means is, remember the file you had when you unpacked MPlayer? Or did you get it with your distrobution? (if so, reply saying that then ill help you later) What you do is, go into root, "cd" into the directory where you built MPlayer, and type "make uninstall". If this is too complicated, or you need step by step instructions, or if this MPlayer was part of your distrobution, reply back.
 
Old 11-15-2004, 05:31 PM   #6
tolstyi
Member
 
Registered: Oct 2004
Posts: 65

Original Poster
Rep: Reputation: 15
Here is the deal... I tried to install MPlayer 1.05 from source and it did not work. So I partially removed some files in the directory, including the source files (very stupid of me, I realize). I had a directory /usr/mplayer/MPlayer1.05_blah_blah with a bunch of subdirectories. It's all gone now. The problem is that when I install Mplayer 0.90 that came with distribution it does not launch. So it looks like because of my ignorance I messed something up...
 
Old 11-15-2004, 06:20 PM   #7
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 64
Just extract the copy again. Not sure if you need to run ./configure. Then do make uninstall.

What do you think is the problem?
What distro are you running?

I had a heck of time getting Mplayer-1.0.5 running for me myself. It wouldn't play some wmv videos and I new I had the codecs installed for them. This is what I did. This may be hard to follow. I only installed the necessary rpm's only since I installed rpm for kplayer. It requires mplayer rpm's. But I say you can do just only step 2.

Note: Better read the CVS section from mplayer Website since this post puts in smiley faces in the CVS commands.

I am running Fedora Core 2


Step1
* First install all RPM's Install rpm's so apps like kplayer know they are there.
mencoder-1.0pre5-2.i386.rpm
mplayer-1.0pre5-2.i386.rpm
mplayer-codecs-essential-20040704-1.i386.rpm
mplayer-codecs-linux-xanim-20040626-1.i386.rpm
mplayer-codecs-win32-20040704-1.i386.rpm
mplayer-codecs-win32-qt-extras-20040704-1.i386.rpm
mplayer-common-1.0pre5-2.i386.rpm
mplayer-font-cp1250-1.1-1.noarch.rpm
mplayer-font-iso1-1.1-1.noarch.rpm
mplayerplug-in-2.70-1.1.fc2.dag.i386.rpm
mplayer-skin-default-1.4-1.noarch.rpm
mplayer-skins_1.6-1.fr_noarch.rpm
mplayer-vidix-1.0pre5-2.i386.rpm
mplayer-vidix-ATI-Radeon-1.0pre5-2.i386.rpm
mplayer-gui-1.0pre5-2.i386.rpm


step 2
* Extract the files in all-20040916.tar.bz2 and copy to /usr/lib/win32

Once you the CVS files below, copy ffmpeg to the mplayer directory created from CVS.
run ./configure --enable-gui
run make
run make install

Ended up creating some fonts and skins folder. Just copied the Skins from rpm to home directory ~/.mplayer/Skins
type gmplayer -vo vx to start mplayer gui from a terminal.




CVS install of mplayer:
* Do this if I want a newer version thourgh CVS. Above is from CVS.
Downloading MPlayer CVS
You can also get MPlayer via anonymous CVS. Issue the following commands to get the latest sources:

cvs -dserver:anonymous@mplayerhq.hu:/cvsroot/mplayer login
cvs -z3 -dserver:anonymous@mplayerhq.hu:/cvsroot/mplayer co -P main

When asked for a password, just hit enter. A directory named main will be created. You can later update your sources by saying

cvs -z3 update -dPA

from within that directory.
FFmpeg libavcodec/libavformat


CVS MPlayer is not fully functional without a copy of the libavcodec codec library from FFmpeg. Get FFmpeg CVS via

cvs -dserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg login
cvs -z3 -dserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co -P ffmpeg/libavcodec

When asked for a password, just hit enter. A directory named ffmpeg will be created. Copy the libavcodec subdirectory into the main directory just created from the MPlayer checkout.

In order to force automatic updates of libavcodec when you update MPlayer, add the following line to main/CVS/Entries:

D/libavcodec////

FFmpeg also contains libavformat, a library to decode container formats that can optionally be used to extend MPlayer's container format support. Get it from FFmpeg CVS by the same steps outlined above for libavcodec, just substitute libavcodec by libavformat everywhere.

To Compile Mplayer
MPlayer can be adapted to all kinds of needs and hardware environments. Copy libavcodec to root of mplayer before compiling to play wmv with no problems.

./configure
./configure --enable-gui if you want to use the GUI.
$ ./configure --with-codecsdir=/usr/local/lib/codecs --enable-gui$ make $ make install

If something does not work as expected, try

./configure --help to see the available options and select what you need.

make
make install

Brian1

Last edited by Brian1; 11-15-2004 at 06:23 PM.
 
Old 11-15-2004, 07:40 PM   #8
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Holy crap!

What a lot of needless work... that is under Mandrake.... (though nice post and instructions...)

Yeah the above advice is GREAT for other distributions but it's just a waste of time in Mandrake and can really foul up your system.

Instead do things the "Mandrake" way.

First as listed go back and untar the same file that you used to try to compile mplayer.

Change to the directory containing the extracted files and go thru EXACTLY the same steps you did as before to compile the code.

Now instead of typing

make install

when it is done, type

make uninstall

to clean off your system.

Now to CORRECTLY and EASILY install mplayer go to http://www.zebulon.org.uk/urpmi_en.html and follow the directions for setting up urpmi.

Notice that they tell you how to install and configure mplayer, which after you've done the above amounts to only doing this...

urpmi mplayer libdvdcss

That's it!

MUCH easier and it does not "break" Mandrake.

Note that you also get the CSS libraries and full encrypted DVD playback too!

Also after doing this check out your "INSTALL SOFTWARE" Gui and you'll see a slew of new programs ready to be installed on your system.
 
Old 11-16-2004, 06:01 PM   #9
tolstyi
Member
 
Registered: Oct 2004
Posts: 65

Original Poster
Rep: Reputation: 15
very good instruction everyone, and opjose in particular. I installed mplayer following your directions. But, since screwed around with deleting files related to mplayer, it does not seem to launch properly. Here is what I get

[root@localhost /]# mplayer
MPlayer 1.0pre5-3.4.1 (C) 2000-2004 MPlayer Team

CPU: Intel Celeron 2/Pentium III Tualatin 2176 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading config file /etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directo ry
Reading /etc/mplayer/codecs.conf: 73 audio & 180 video codecs
Usage: mplayer [options] [url|path/]filename


Anyway to fix it? Thanks
 
Old 11-16-2004, 06:10 PM   #10
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
BTW: Does it REALLY "need" fixing?

You are trying to run the command line. which is NOT what you want...

Instead you need to use one of the gui's such as gmplayer.

Also installing mplayer via urpmi (along with the gui's) should have added entries into your VIDEO menu for it.



Anyway the easiest way to correct config file errors related to older copies is to uninstall mplayer and all related files...

then remove the files or directories listed in your post for which it is searching.

Also delete any hidden mplayer files or directories.

Then


updatedb &

To update you locate database with current files and

locate mplayer

to find any that remain.

Delete these as well.

Now re-install via urpmi, which will recreate and correct any errant configuration files and search paths.

Remember to also urpmi for codecs which Mplayer utilizes...

urpmi codec

Last edited by opjose; 11-16-2004 at 06:14 PM.
 
Old 11-16-2004, 06:17 PM   #11
tolstyi
Member
 
Registered: Oct 2004
Posts: 65

Original Poster
Rep: Reputation: 15
thanks opjose. I got it up and running!
 
Old 11-16-2004, 07:11 PM   #12
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Great!
 
Old 12-01-2004, 07:49 AM   #13
_InTeNsDoWn_
Member
 
Registered: Dec 2004
Location: Portugal
Distribution: Slackware
Posts: 34

Rep: Reputation: 15
Hi, i downloaded Mplayer and codecs from here: http://freshmeat.net/projects/mpsetup/

Now, i need uninstall all codecs, what is the command? :S
 
Old 12-01-2004, 07:54 AM   #14
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
No, no, no, no,no!

Do not download the codecs from there...

Instead follow these directions:

http://www.zebulon.org.uk/urpmi_en.html

Which includes the mplayer codecs.
 
Old 12-01-2004, 09:37 AM   #15
_InTeNsDoWn_
Member
 
Registered: Dec 2004
Location: Portugal
Distribution: Slackware
Posts: 34

Rep: Reputation: 15
Quote:
Originally posted by opjose
No, no, no, no,no!

Do not download the codecs from there...

Instead follow these directions:

http://www.zebulon.org.uk/urpmi_en.html

Which includes the mplayer codecs.
Oops, i deceived in forum, my distro is Slackware 10, not Mandrake, but opjose, you know where are the location of codecs that been installed by that one software what i use?

(sorry my english, but im portuguese)
 
  


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
Removing Old Mplayer Leftovers Wheat_Thins Linux - Software 2 11-25-2005 05:00 PM
Mplayer not removing from memory. mooreted Mandriva 6 02-28-2005 06:40 PM
Removing files wihtout removing containing Direcotry caps_phisto Linux - General 2 10-07-2004 08:16 AM
how do I manually scrub my system of mplayer? stellarmarine1 Linux - Software 9 08-23-2004 06:54 AM
Removing rpms manually Zeebro Linux - Newbie 2 12-05-2003 08:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 04:38 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