how to uninstall software in linux. I am facing issues installing No machine setup(NX)

link|improve this question
feedback

migrated from stackoverflow.com Apr 5 '10 at 11:52

This question came from our site for professional and enthusiast programmers.

4 Answers

rpm -e <package> or yum remove <package> if it was installed via a package. Otherwise make uninstall or judicious use of rm.

link|improve this answer
feedback

If I want to uninstall a program quickly and I only know part of the name I find the following commands always nice.

Lets say I want to remove only tomcat from my system, I use:

rpm -qa | grep "tomcat" | xargs rpm -e

If I want to remove tomcat and all its dependencies I use:

rpm -qa | grep "tomcat" | xargs yum erase -y

There are all kinds of variations on these commands, and they can be quite powerful.

link|improve this answer
feedback

checkout yum --help or man yum

link|improve this answer
feedback

yum remove <package> As for any details on which packages are installed, you could use yum list. That should show all packages.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown