Mailinglist Archive: opensuse (3566 mails)
| < Previous | Next > |
Re: [opensuse] uninstall source
- From: BandiPat <penguin0601@xxxxxxxxxxxxx>
- Date: Sun, 29 Apr 2007 10:15:58 -0400
- Message-id: <200704291015.58483.penguin0601@xxxxxxxxxxxxx>
On Sunday 29 April 2007, lists Guillot wrote:
> Hello everyone, and welcome to Newbie Question Sunday.
>
> I often install packages from source with ./configure, make, make
> install. Sometimes I'm not happy with the software for whatever
> reason and I want to get rid of it. I don't actually know how to do
> this, till now I've always done make clean or make distclean if
> available, and then deleted the sources. But I installed something
> the other day that messed up something else, and uninstalling in this
> manner did not fix the problem. So how does one really fully undo
> what is done by ./configure, make, make install?
>
> To give an example, to solve a claimed dependency by some other
> software I went and installed iconv (
> http://www.gnu.org/software/libiconv/ ). Then when I tried to run man
>
> from the command line I got:
> > man man
>
> Reformatting man(1), please wait...
> iconv: conversion from utf8 unsupported
> iconv: try 'iconv -l' to get the list of supported encodings
>
> So I "uninstalled" iconv as mentioned above, but the problem didn't
> go away. to my surprise I found that /usr/local/bin/iconv was still
> there. If I delete it the problem is solved, so that's ok. The
> question is that I thought make clean would have got rid of it, and
> now I wonder what other junk is left lying around from other source
> packages I've installed and "removed". How does one really uninstall?
> How do you know if everything's been removed?
>
> Sorry if this is embarrassingly basic. Cheers.
>
> g
=============
If you haven't deleted your source directory of the program you
installed, I believe you can use "make uninstall" to remove as easily
as you installed it.
As Thomas pointed out, it would be better to use a rpm file either by
using "checkinstall", krpmbuilder or writing your own spec to compile
as a rpm. All procedures would make your life and system infinitely
easier to maintain.
regards,
Lee
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
> Hello everyone, and welcome to Newbie Question Sunday.
>
> I often install packages from source with ./configure, make, make
> install. Sometimes I'm not happy with the software for whatever
> reason and I want to get rid of it. I don't actually know how to do
> this, till now I've always done make clean or make distclean if
> available, and then deleted the sources. But I installed something
> the other day that messed up something else, and uninstalling in this
> manner did not fix the problem. So how does one really fully undo
> what is done by ./configure, make, make install?
>
> To give an example, to solve a claimed dependency by some other
> software I went and installed iconv (
> http://www.gnu.org/software/libiconv/ ). Then when I tried to run man
>
> from the command line I got:
> > man man
>
> Reformatting man(1), please wait...
> iconv: conversion from utf8 unsupported
> iconv: try 'iconv -l' to get the list of supported encodings
>
> So I "uninstalled" iconv as mentioned above, but the problem didn't
> go away. to my surprise I found that /usr/local/bin/iconv was still
> there. If I delete it the problem is solved, so that's ok. The
> question is that I thought make clean would have got rid of it, and
> now I wonder what other junk is left lying around from other source
> packages I've installed and "removed". How does one really uninstall?
> How do you know if everything's been removed?
>
> Sorry if this is embarrassingly basic. Cheers.
>
> g
=============
If you haven't deleted your source directory of the program you
installed, I believe you can use "make uninstall" to remove as easily
as you installed it.
As Thomas pointed out, it would be better to use a rpm file either by
using "checkinstall", krpmbuilder or writing your own spec to compile
as a rpm. All procedures would make your life and system infinitely
easier to maintain.
regards,
Lee
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |