LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Uninstalling mencoder question (https://www.linuxquestions.org/questions/linux-newbie-8/uninstalling-mencoder-question-723704/)

mkabwilliams 05-04-2009 07:17 PM

Uninstalling mencoder question
 
I had my hosting company install mencoder and it looks like they installed into the root. I've had a bunch of problems with the installs they tried doing for me and now I want to uninstall everything and start over. But I'm unsure how to remove this.

Its currently sitting in ~/bin
and says there are two files there
mencoder@
and
mencoder.back*

could someone assist me?

Thanks

BrianK 05-04-2009 07:47 PM

The short answer is, just delete the file(s), there's not really an uninstall process.

The longer answer is: The makefile that was used to build mplayer/mencoder has an "uninstall" target. To "officially" uninstall, use the same makefile that was used to compile mplayer & do a "make uninstall". That will do the following:

Code:

        rm -f $(BINDIR)/mplayer$(EXESUF) $(BINDIR)/gmplayer$(EXESUF)
        rm -f $(BINDIR)/mencoder$(EXESUF)
        rm -f $(MANDIR)/man1/mencoder.1 $(MANDIR)/man1/mplayer.1
        rm -f $(prefix)/share/pixmaps/mplayer.xpm
        rm -f $(prefix)/share/applications/mplayer.desktop
        rm -f $(MANDIR)/man1/mplayer.1 $(MANDIR)/man1/mencoder.1
        rm -f $(foreach lang,$(MAN_LANG),$(foreach man,mplayer.1 mencoder.1,$(MANDIR)/$(lang)/man1/$(man)))

If you don't have that makefile, then use the above as a guide. Again, all that is NOT necessary & doing all of it will likely make no difference in your attempts to make mencoder work.

FWIW, the "configure" step of mplayer is very important (that's the "configure" in "configure; make; make install")... look at what it spits out & correct everything that gives a 'no' answer. You'll likely find that all your mencoder problems are related to the fact that the correct libs are not available at compile time. mplayer will compile and run just fine without the correct libs for encoding & it doesn't do a good job of letting the user know that it won't be creating the encoder.


All times are GMT -5. The time now is 01:09 PM.