LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   uninstall package/program in Linux (https://www.linuxquestions.org/questions/linux-software-2/uninstall-package-program-in-linux-13725/)

minor 02-07-2002 04:30 AM

uninstall package/program in Linux
 
If I install some packages on my Linux but I don't want to use it, how can I uninstall it? OR I just stop the services/daemons and remove the package directory only?

neo77777 02-07-2002 09:37 AM

If the package you want uninstall came in rpm packaging, then you should use RPMDrake (I believe this what's it called) or kpackage to remove the package(application), or you can always use command line
as root
type
rpm -e packagename
it will remove the package if every dependency is satisfied.

minor 02-07-2002 07:42 PM

How about the tar ball?
 
ok, thanks your reply and how about the tar ball?

neo77777 02-07-2002 08:43 PM

tarballs are different though, first you can remove the binaries that were installed, but if it is a nested tarball install, and there are different directories involved, look under Makefile in the tarball directory for the uninstall rule, I doubt that most tarballs have this, but it's worth a try if the rule defined run make uninstall, or there can be an uninstall script in the tarball directory. As for me I usually end up deleting binaries and dirs that were created during installation, for that I use nohup and redirect output when use make and make install, this way it is easier to track down installation for later uninstall.


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