Click to See Complete Forum and Search --> : removing software
arioch
10-14-2002, 11:36 AM
HI
I'm having a small prob removing a piece of software that wouldn't compile. Whenever i try both make uninstall and simply erasing the install directory i get 'Acces denied'. How do i dump it?
I'm using the libranet 2.0 version of debian woody.
Wallex
10-14-2002, 11:53 AM
Access Denied? Use root access!
make uninstall is pretty much the contrary of make install, so you need to be su'ed as root for either to take effect. Depending on 'which user' was doing the configuration and installation of the source code, the generated files could end up owned by root, and thus, giving you an access denied message when you try to delete the source directories as a normal user, that has happened to me quite a few times.
su -c 'make uninstall'
or su -c 'rm -R /dir/path/'
whichever one you need?
arioch
10-14-2002, 05:33 PM
Every thing iv'e tried i did as root. Whenever i try i get 'unable to make target uninstall'. I checked the install directory and everything looks right (makefile present and everything)this is really weirding me out. As far as i know iv'e played by the rules so i really can't make any sense of this.
hlrguy
10-14-2002, 05:47 PM
If it didn't compile, then you didn't get to the install stage. Since it didn't get to the install process, the 'un-install' files required don't exist. All you need to do is get rid of the directory where the tarfile is.
If the tar file is in directory /happydir1/maddir2/TarName, do this,
CAREFUL of the syntax. recursive rm is dangerous. The slash before the rm means DELETE ANTHING THAT FOLLOWS WITH NO WARNING. Make sure you don't fatfinger and put a '*' in or anything
\rm -r /happydir1/maddir2/TarName
hlrguy
Did I mention... CAREFUL of the syntax. recursive rm is dangerous
mdwatts
10-14-2002, 05:48 PM
If you haven't completed 'make install', then 'make uninstall' will not work.
How are you trying to remove the directory?
justlinux.com
Copyright 2007 Jupitermedia Corporation All Rights Reserved.