Removing installed application
Removing an application which was installed using RPM is easy. But how does one remove a tar-red application installed using the 'install' command? For example, Carlos E.R. talked about the antivir program which checks for viruses so, like a good soldier, I went and got it and installed it to try it out. Now I want to remove it. To remove it, is it a matter of looking inside the archive and compiling a list of all the directories where it installed itself and then deleting those entries manually, or is there a faster method? Cheers. -- "I hope you leave here and walk out and say, 'What did he say?'" George W. Bush 27 August 2004
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2006-11-03 at 23:29 +1100, Basil Chupin wrote:
Removing an application which was installed using RPM is easy. But how does one remove a tar-red application installed using the 'install' command?
For example, Carlos E.R. talked about the antivir program which checks for viruses so, like a good soldier, I went and got it and installed it to try it out. Now I want to remove it.
To remove it, is it a matter of looking inside the archive and compiling a list of all the directories where it installed itself and then deleting those entries manually, or is there a faster method?
Good question... Yes, I do it manually. If they have an install program, they may have an uninstall one too. If it was a "make install" there usually is also a "make uninstall", but not always. Perhaps there is a method somebody can come up of listing the contents of the tgz and creating an script to erase or move those same files from the tree. But remember that if there is an install method, you can always create an rpm out of it, with "checkinstall install_program" or whatever command it needs to be used to install or unzip it. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFS0MMtTMYHG2NR9URAmnxAJ0V5t5TJNa3TOjboEF0JlAICLg2RgCfaDVl 9OuMfxEX4uXTrbIyZjpEehc= =kFV/ -----END PGP SIGNATURE-----
Basil Chupin wrote:
Removing an application which was installed using RPM is easy. But how does one remove a tar-red application installed using the 'install' command?
(snip)
To remove it, is it a matter of looking inside the archive and compiling a list of all the directories where it installed itself and then deleting those entries manually, or is there a faster method?
Use "checkinstall" for installing instead of "install" or "make install". That way an rpm package will be created which you can install and uninstall in the usual way. Unfortunately this won't help you with your current problem, for which I know no solution other than the one you already suggested. And you have to be careful in deleting shared libraries, since they may be used by other programs as well. :-( Regards, -- Jos van Kan registered Linux user #152704
On Friday 03 November 2006 14:25, Jos van Kan wrote:
Basil Chupin wrote:
Removing an application which was installed using RPM is easy. But how does one remove a tar-red application installed using the 'install' command?
(snip)
To remove it, is it a matter of looking inside the archive and compiling a list of all the directories where it installed itself and then deleting those entries manually, or is there a faster method?
Use "checkinstall" for installing instead of "install" or "make install". That way an rpm package will be created which you can install and uninstall in the usual way. Unfortunately this won't help you with your current problem, for which I know no solution other than the one you already suggested. And you have to be careful in deleting shared libraries, since they may be used by other programs as well. :-(
Regards, -- Jos van Kan registered Linux user #152704
I once did a "checkinstall" for an app that I previously installed with "make install", then installed the resulting rpm with Yast and finally de-installed it again with Yast. I did so, because somebody told me, the rpm-install would overwrite all the files that were installed with "make install", and so de-installing the rpm with Yast would remove everything completely. I don't know, if this is always true, but here it worked that time ;-) Daniel -- Daniel Bauer photographer Basel Switzerland professional photography: http://www.daniel-bauer.com Madagascar special: http://www.sanic.ch
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2006-11-03 at 15:07 +0100, Daniel Bauer wrote:
I once did a "checkinstall" for an app that I previously installed with "make install", then installed the resulting rpm with Yast and finally de-installed it again with Yast.
I did so, because somebody told me, the rpm-install would overwrite all the files that were installed with "make install", and so de-installing the rpm with Yast would remove everything completely.
I don't know, if this is always true, but here it worked that time ;-)
You are right. There is one instance when it doesn't: when the install cycle tries to be clever and skips the already installed parts. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFS18BtTMYHG2NR9URAjP+AKCFf526Jv+b7AzNoJeXL2z+5eb9qgCfZB7g l/jsFkKSQbE5EhvbBJOp+to= =EAQy -----END PGP SIGNATURE-----
On Fri, 2006-11-03 at 23:29 +1100, Basil Chupin wrote:
Removing an application which was installed using RPM is easy. But how does one remove a tar-red application installed using the 'install' command?
For example, Carlos E.R. talked about the antivir program which checks for viruses so, like a good soldier, I went and got it and installed it to try it out. Now I want to remove it.
To remove it, is it a matter of looking inside the archive and compiling a list of all the directories where it installed itself and then deleting those entries manually, or is there a faster method?
Have a look for any un-install scripts it may have created. You could of course, re-do the make up to the point of of make install, but using check-install to create the rpm, then install the RPM, which will overwrite the previously installed files, and then un-install the RPM, hence removing the files. HTH and _I_ didn't tell you this ok? ;) Mike
Mike McMullin wrote:
On Fri, 2006-11-03 at 23:29 +1100, Basil Chupin wrote:
Removing an application which was installed using RPM is easy. But how does one remove a tar-red application installed using the 'install' command?
For example, Carlos E.R. talked about the antivir program which checks for viruses so, like a good soldier, I went and got it and installed it to try it out. Now I want to remove it.
To remove it, is it a matter of looking inside the archive and compiling a list of all the directories where it installed itself and then deleting those entries manually, or is there a faster method?
Have a look for any un-install scripts it may have created. You could of course, re-do the make up to the point of of make install, but using check-install to create the rpm, then install the RPM, which will overwrite the previously installed files, and then un-install the RPM, hence removing the files.
HTH and _I_ didn't tell you this ok? ;)
Mike
Thanks for this. Perhaps it was the way I (didn't) described the situation which made people assume that I had to run make install to actually install this antivir program but this wasn't the case. When the download is untar-red all its compressed files go into a directory where there is a file called "install" which, when clicked on, installs the antivir program. There is no need for make install - unless using check-install can still be applied here. So I guess the bottom line is that I need to go to the various places where antivir placed its bits and delete them by the directories they are stored in. Not a problem :-) . Cheers. -- "I hope you leave here and walk out and say, 'What did he say?'" George W. Bush 27 August 2004
* Basil Chupin <blchupin@tpg.com.au> [11-04-06 21:30]:
Thanks for this. Perhaps it was the way I (didn't) described the situation which made people assume that I had to run make install to actually install this antivir program but this wasn't the case. When the download is untar-red all its compressed files go into a directory where there is a file called "install" which, when clicked on, installs the antivir program.
Here is your answer. Read the 'install' script with less or a text editor such as vim, joe, jed, nano, pico... and see where it put files. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
Patrick Shanahan wrote:
* Basil Chupin <blchupin@tpg.com.au> [11-04-06 21:30]:
Thanks for this. Perhaps it was the way I (didn't) described the situation which made people assume that I had to run make install to actually install this antivir program but this wasn't the case. When the download is untar-red all its compressed files go into a directory where there is a file called "install" which, when clicked on, installs the antivir program.
Here is your answer. Read the 'install' script with less or a text editor such as vim, joe, jed, nano, pico... and see where it put files.
Which is exactly what I have done :-) . All I now need to do is to go to the mantioned directories. Cheers. -- "I hope you leave here and walk out and say, 'What did he say?'" George W. Bush 27 August 2004
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2006-11-05 at 13:27 +1100, Basil Chupin wrote:
all its compressed files go into a directory where there is a file called "install" which, when clicked on, installs the antivir program. There is no need for make install - unless using check-install can still be applied here.
Of course it can: checkinstall install or any other command used for installing, even a long untar command. I told you so on friday ;-) - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFTVLHtTMYHG2NR9URAr3nAJ9wRWm8LVjq2gZ7YVOYebzGXoqJYwCglfq1 sJfpVy9hpdFbdkk+QcnJqTo= =Fehm -----END PGP SIGNATURE-----
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Sunday 2006-11-05 at 13:27 +1100, Basil Chupin wrote:
all its compressed files go into a directory where there is a file called "install" which, when clicked on, installs the antivir program. There is no need for make install - unless using check-install can still be applied here.
Of course it can:
checkinstall install
or any other command used for installing, even a long untar command. I told you so on friday ;-)
Didn't see your response - possibly didn't arrive here, don't know. But thanks for the above. I've made a note of it and will use this method in the future. (Maybe if I did this now all it would do is overwrite what is there already and then I can use rpm -e to uninstall. I'll try this on the testbed computer first.) Cheers. -- "I hope you leave here and walk out and say, 'What did he say?'" George W. Bush 27 August 2004
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2006-11-05 at 14:17 +1100, Basil Chupin wrote:
Didn't see your response - possibly didn't arrive here, don't know.
http://lists.suse.com/archive/suse-linux-e/2006-Nov/0708.html Maybe your antispam filtering is too tight ;-)
But thanks for the above. I've made a note of it and will use this method in the future. (Maybe if I did this now all it would do is overwrite what is there already and then I can use rpm -e to uninstall. I'll try this on the testbed computer first.)
Yes, it should work, as others have said. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFTVtFtTMYHG2NR9URAlq3AJ0SlJrE57+UTmY6KOf93VpVEuxfLgCfWGlW zV87/+A/ptLfnezd1fSZi/w= =OmqM -----END PGP SIGNATURE-----
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Sunday 2006-11-05 at 14:17 +1100, Basil Chupin wrote:
Didn't see your response - possibly didn't arrive here, don't know.
http://lists.suse.com/archive/suse-linux-e/2006-Nov/0708.html
Maybe your antispam filtering is too tight ;-)
No, the filter does not touch anything to do with this mail list, nor anyone who is in my address book. There is something happening with the mail from this list because in another thread here my post and a response to it took some 14 hours to get back to me. Possibly has to do with which path the mail follows from the suse server, don't know. [pruned] Cheers. -- "I hope you leave here and walk out and say, 'What did he say?'" George W. Bush 27 August 2004
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2006-11-05 at 14:55 +1100, Basil Chupin wrote:
Maybe your antispam filtering is too tight ;-)
No, the filter does not touch anything to do with this mail list, nor anyone who is in my address book.
There is something happening with the mail from this list because in another thread here my post and a response to it took some 14 hours to get back to me. Possibly has to do with which path the mail follows from the suse server, don't know.
Something in the US, the cia looking closely at us? :-P Just joking. Yes, I heard/read coments on mail problems/delays. I have no problem in that respect here in Spain. I'll keep my fingers crossed. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFTc5dtTMYHG2NR9URAleyAJ0RS2GJbvZFVygCWonTTFMWZaNk5wCeLdAA 1zldHG1OBFAn3/Ro3H3h3Lk= =uADF -----END PGP SIGNATURE-----
Carlos E. R. wrote:
The Sunday 2006-11-05 at 14:17 +1100, Basil Chupin wrote:
Didn't see your response - possibly didn't arrive here, don't know.
http://lists.suse.com/archive/suse-linux-e/2006-Nov/0708.html
Maybe your antispam filtering is too tight ;-)
But thanks for the above. I've made a note of it and will use this method in the future. (Maybe if I did this now all it would do is overwrite what is there already and then I can use rpm -e to uninstall. I'll try this on the testbed computer first.)
Yes, it should work, as others have said.
Interestingly, your message to Basil was the first I received on this thread. I noticed Basil's last message was marked with an " Error - No valid armored OpenPGP data block found ", and I know I haven't used a PGP signature yet. Could this have something to do with skipped messages? -- ED --
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2006-11-07 at 12:05 -0500, Ed McCanless wrote:
Yes, it should work, as others have said.
Interestingly, your message to Basil was the first I received on this thread.
Then you have a problem with email, or something in the path is filtering or removing email.
I noticed Basil's last message was marked with an " Error - No valid armored OpenPGP data block found ", and I know I haven't used a PGP signature yet. Could this have something to do with skipped messages?
No, it is because in his answers Basil does not remove the remains from my signature, and that is enough to trick Thunderbird into expecting a signature somewhere. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFUNeDtTMYHG2NR9URAnU0AKCQRsqYa2bpZYBDF5SZomg6kwLL0ACfUK5v TASMwmC2jTqzOs+/x6Q/zVI= =ALsn -----END PGP SIGNATURE-----
On Saturday 04 November 2006 22:32, Carlos E. R. wrote:
Yes, it should work, as others have said.
-- Cheers, Carlos E. R.
Yes Carlos, I'm still having a mail problem. I retrieved your reply from the archives. It hasn't arrived here yet. --------------------------------------------------- The Tuesday 2006-11-07 at 12:05 -0500, Ed McCanless wrote:
Yes, it should work, as others have said.
Interestingly, your message to Basil was the first I received on this thread.
Then you have a problem with email, or something in the path is filtering or removing email.
I noticed Basil's last message was marked with an " Error - No valid armored OpenPGP data block found ", and I know I haven't used a PGP signature yet. Could this have something to do with skipped messages?
No, it is because in his answers Basil does not remove the remains from my signature, and that is enough to trick Thunderbird into expecting a signature somewhere. - -- Cheers, Carlos E. R. ----------------------------------------------------- If it's a filter, it seems to work only on certain days of the week. I receive very little mail on Sat. and Sun. and sometimes Mon. I'm pretty sure the problem is not with the list, because I sent mail to myself from another account, and that sent on the weekend never arrived Hope the way I've done this isn't too confusing,but I wanted to say thanks for the feedback. -- -- ED -- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (7)
-
Basil Chupin
-
Carlos E. R.
-
Daniel Bauer
-
Ed McCanless
-
Jos van Kan
-
Mike McMullin
-
Patrick Shanahan