How to remove apps which installed from source
I've installed Mplayer from source, and now want to remove it.
But i use pkgtool command or Kpackage, i dont see mplayer package to remove. Please help me uninstall it |
If you installed it with 'make install' then do 'make uninstall' from same folder.
|
That really depends on how you installed it. If you did a simple
Code:
$ ./configure Basically, first try `make uninstall` in the source directory. (Note: all of my advice is assuming you used a typical `./configure && make && make install` build procedure -- I'm assuming this because you said there was no entry in pkgtools). |
I've not tried this so can't vouch for its use - however I've looked at my copy of Mplayer's Makefile and it seems to have an uninstall option so....
As previously stated Go to the directory where you built the source of Mplayer run - su -c "make uninstall" and give the root password when prompted. This should run 'make uninstall' as root. You may have codecs lying around that you have installed and you'll have to deal with these seperately. If you wish to make Mplayer from source I would recommend running a "Slackbuild" which will make a package for you. You can then install/uninstall with pkgtools (installpkg/removepkg). There is a build on Slackbuilds.org : http://slackbuilds.org/repository/12...media/MPlayer/ If youre unfamiliar with building a Slackbuild have a look on the site for instructions - its really quite simple and very convenient. Running a basic "./configure,make,make install" can leave files all over the place - sometimes with no way of uninstalling them ! You are always better building a package using one of the tools or perhaps building a package yourself from scratch. Good luck.. |
In case you already removed the sources which you compiled and installed, you'll need to unpack the sources and run configure with the same options you used(especially the --prefix) and then you can run 'make uninstall' to remove the program and other files(you don't have to recompile before doing this.
|
Good point, gnashley (I always leave the sources lying on my computer [even though I use SlackBuilds] and just assumed everyone else did too -- stupid assumption on my part).
|
if u dont want the sources lying on your computer and your installed packages haven't make unistall use paco.
[HTML]Paco is a source code package organizer for Unix/Linux systems, originally written to aid package management when installing an LFS system. When installing a package from sources, paco wraps the "make install" command (or whatever is needed to install the files into the system), and generates a log containing the list of anll installed files. Like any other package manager, paco also provides several options to show package information in different formats. It can remove packages too, among some other basic operations[/HTML] i find it usefull for such cases.a simple unistaller |
All times are GMT -5. The time now is 10:54 AM. |