Results 1 to 7 of 7
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 ...
- 07-17-2008 #1Just Joined!
- Join Date
- Mar 2007
- Posts
- 15
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.
- 07-17-2008 #2
Which Linux distro are you using? How did you install newer version?
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 07-17-2008 #3Just Joined!
- Join Date
- Mar 2007
- Posts
- 15
I am using CentOS 4.2
I installed using the README instructions
./configure --prefix=/usr/local/bin --without-mpi
make
make install
- 07-17-2008 #4
I'm sure the prefix is supposed to be /usr/local and not /usr/local/bin when you run ./configure. If you use --prefix=/usr/local, then depending on how your system is setup, the newer version should be found and used first. Alternatively you can use the full path name e.g. /usr/local/bin/valgrind.
- 07-17-2008 #5Just Joined!
- Join Date
- Mar 2007
- Posts
- 15
Thanks a bunch daark.child! that works great!
Ah that explains, why it installed in /usr/local/bin/bin =D.I'm sure the prefix is supposed to be /usr/local and not /usr/local/bin
- 07-17-2008 #6Just Joined!
- Join Date
- Mar 2007
- Posts
- 15
Now I'm stuck with another problem though.. how do I uninstall valgrind from /usr/local/bin/bin =\. Someone told me to simply do a "make uninstall" but I have to make sure that the make file does not erase something other than the /usr/local/bin/bin directory. Anyone know how to solve this?
- 07-17-2008 #7
"make uninstall" should uninstall only files it installed. Alternatively you should be able to just delete /usr/local/bin/bin (it should be the only directory in /usr/local/bin because directories don't belong in the */bin directories).


Reply With Quote