You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "wt@teksavvy.com" <wt...@teksavvy.com> on 2008/10/23 02:09:46 UTC

[users@httpd] how to uninstall httpd-2.2.10

Hello All,

I've compile and installed apache-2.2.10 from source and would like to
remove it from my system.  I notice that I cannot use 'make uninstall'
anymore.
Could someone tell me how to go about uninstalling it?

Thanks in advance.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how to uninstall httpd-2.2.10

Posted by Michele Mase' <mi...@gmail.com>.
My suggestion is:
1 packetize it if you can (it depends of which is your env: I mean, 4
example if you use linux rpm compatible with the command rpmbuild -ta
httpd-x.y.z.tar.gz you should build all the packages apache related. I don't
know the deb package syntax. If you don't use linux it depends of you
operating system)
2 Install and uninstall the package using the os utilities.

If you did it using the classical ./configure; make; make install, yuo
should take a look in the file
config.layout in the root of the archive.
...
##
##  config.layout -- Pre-defined Installation Path Layouts
##
##  Hints:
##  - layouts can be loaded with configure's --enable-layout=ID option
##  - when no --enable-layout option is given, the default layout is
`Apache'
##  - a trailing plus character (`+') on paths is replaced with a
##    `/<target>' suffix where <target> is currently hardcoded to 'apache2'.
##    (This may become a configurable parameter at some point.)
##

#   Classical Apache path layout.
<Layout Apache>
    prefix:        /usr/local/apache2
    exec_prefix:   ${prefix}
    bindir:        ${exec_prefix}/bin
    sbindir:       ${exec_prefix}/bin
    libdir:        ${exec_prefix}/lib
    libexecdir:    ${exec_prefix}/modules
    mandir:        ${prefix}/man
    sysconfdir:    ${prefix}/conf
    datadir:       ${prefix}
    installbuilddir: ${datadir}/build
    errordir:      ${datadir}/error
    iconsdir:      ${datadir}/icons
    htdocsdir:     ${datadir}/htdocs
    manualdir:     ${datadir}/manual
    cgidir:        ${datadir}/cgi-bin
    includedir:    ${prefix}/include
    localstatedir: ${prefix}
    runtimedir:    ${localstatedir}/logs
    logfiledir:    ${localstatedir}/logs
    proxycachedir: ${localstatedir}/proxy
</Layout>
...

For example the manuals are into the dir /usr/local/apache2/manual and so
on.
Please pay attention to the file LAYOUT too;
Remove the necessary files according to the config.layout
finally, the make install should add the user apache (verify your
/etc/passwd file) and the init script (usually in /etc/init.d); remove them
if present
I hope this will be enough for your issue
Regards, Michele
ps: excuse me 4 my bad english


On Thu, Oct 23, 2008 at 1:56 PM, Brian Mearns <me...@gmail.com> wrote:

> I think it will probably depend on your set up, actually. For
> instance, if you set your prefix to /usr/local or something like that,
> then you obviously don't want to just delete that whole thing, but
> apache will have installed things through out various folders under
> there. Not sure if there's some automated tool to do the uninstall,
> but one thing you can do is re-build install with a different prefix,
> say /tmp/apache-install, and when that's done, you'll be able to see
> exactly what it installed where (relative to prefix, that is). That
> sounds like an aweful lot of work, though.
>
> Good luck,
> -Brian
>
> On Wed, Oct 22, 2008 at 9:02 PM, wt@teksavvy.com <wt...@teksavvy.com> wrote:
> > wt@teksavvy.com wrote:
> >> Hello All,
> >>
> >> I've compile and installed apache-2.2.10 from source and would like to
> >> remove it from my system.  I notice that I cannot use 'make uninstall'
> >> anymore.
> >> Could someone tell me how to go about uninstalling it?
> >>
> >> Thanks in advance.
> >>
> >> ---------------------------------------------------------------------
> >> The official User-To-User support forum of the Apache HTTP Server
> Project.
> >> See <URL:http://httpd.apache.org/userslist.html> for more info.
> >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >> For additional commands, e-mail: users-help@httpd.apache.org
> >>
> >>
> >
> > Ok. I should have read the other posts as reference.  It's removing the
> > installed apache directory that was specified in ./configure
> > -prefix=target_directory ...
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
> Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Re: how to uninstall httpd-2.2.10

Posted by Dan Poirier <po...@pobox.com>.
[from the users list]
> On Wed, Oct 22, 2008 at 9:02 PM, wt@teksavvy.com <wt...@teksavvy.com> wrote:
>> wt@teksavvy.com wrote:
>>> Hello All,
>>>
>>> I've compile and installed apache-2.2.10 from source and would like to
>>> remove it from my system.  I notice that I cannot use 'make uninstall'
>>> anymore.
>>> Could someone tell me how to go about uninstalling it?

"make uninstall" sounds like a convenient feature.  Does anyone know a 
reason we don't have it, besides that nobody's coded it yet?

Dan

Re: [users@httpd] how to uninstall httpd-2.2.10

Posted by Brian Mearns <me...@gmail.com>.
I think it will probably depend on your set up, actually. For
instance, if you set your prefix to /usr/local or something like that,
then you obviously don't want to just delete that whole thing, but
apache will have installed things through out various folders under
there. Not sure if there's some automated tool to do the uninstall,
but one thing you can do is re-build install with a different prefix,
say /tmp/apache-install, and when that's done, you'll be able to see
exactly what it installed where (relative to prefix, that is). That
sounds like an aweful lot of work, though.

Good luck,
-Brian

On Wed, Oct 22, 2008 at 9:02 PM, wt@teksavvy.com <wt...@teksavvy.com> wrote:
> wt@teksavvy.com wrote:
>> Hello All,
>>
>> I've compile and installed apache-2.2.10 from source and would like to
>> remove it from my system.  I notice that I cannot use 'make uninstall'
>> anymore.
>> Could someone tell me how to go about uninstalling it?
>>
>> Thanks in advance.
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>
> Ok. I should have read the other posts as reference.  It's removing the
> installed apache directory that was specified in ./configure
> -prefix=target_directory ...
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] how to uninstall httpd-2.2.10

Posted by "wt@teksavvy.com" <wt...@teksavvy.com>.
wt@teksavvy.com wrote:
> Hello All,
>
> I've compile and installed apache-2.2.10 from source and would like to
> remove it from my system.  I notice that I cannot use 'make uninstall'
> anymore.
> Could someone tell me how to go about uninstalling it?
>
> Thanks in advance.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>   

Ok. I should have read the other posts as reference.  It's removing the
installed apache directory that was specified in ./configure
-prefix=target_directory ...


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org