LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Uninstalling programs (https://www.linuxquestions.org/questions/linux-newbie-8/uninstalling-programs-656388/)

afflictedd2 07-17-2008 10:08 AM

Uninstalling programs
 
Hi everyone,

I installed valgrind-3.3.1/ but had valgrind-2.2.0 installed in my system. When I write on the shell valgrind --version I still get the version 2.2.0. Probably because it is still installed but, I don't know how to uninstall programs in linux, without a package manager. How can I uninstall it from command line?

Thanks,

Ed.

terry1982 07-17-2008 10:25 AM

what linux distro are you using.

i think in ubuntu it is "sudo apt-get remove <package name>

TB0ne 07-17-2008 10:26 AM

As root, try "rpm -e <whatever package name>". You can also do an "rpm -q <package name>" to see the name. Man rpm should explain more options.

FranDango 07-18-2008 07:18 AM

How did you install the newer version of valgrind? If you haven't installed it using a package manager, then it will probably not even show in the listing of the package manager.

Run a
Quote:

which valgrind
or
Quote:

whereis valgrind
to see where your installations are.

You can have two or more different versions of the same software installed, but these have to be in different locations. You then have to run each by entering the full pathname to the executable.

Linux Archive


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