LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-12-2006, 02:49 PM   #1
joelkillspeople
LQ Newbie
 
Registered: Jul 2006
Posts: 7

Rep: Reputation: 0
How do I fully uninstall Apache2?


I totally f'ed up this installation, and need to start from scratch. What do I need to do to totally get rid of apache2?

I'm using debian, but didn't go with aptitude or apt-get to install.

Thanks,

Joel
 
Old 07-12-2006, 03:13 PM   #2
joelkillspeople
LQ Newbie
 
Registered: Jul 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Oh, and running make uninstall after a ./configure ion the correct .tar didn't work either. it came back with this:

Code:
root@webhost:~/httpd-2.0.54# make uninstall
make: *** No rule to make target `uninstall'.  Stop.
 
Old 07-12-2006, 03:37 PM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
It seems like, you did not run "make install" after running "./configure", so there is nothing to "make uninstall".
 
Old 07-13-2006, 07:14 AM   #4
joelkillspeople
LQ Newbie
 
Registered: Jul 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Huh. It is running though. I'm not THAT new .

I know I made a make install in order to get this running when I first installed it.
 
Old 07-14-2006, 02:06 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by joelkillspeople
Huh. It is running though. I'm not THAT new .

I know I made a make install in order to get this running when I first installed it.
I did not make any assumptions that you are new to Linux. The error means that there is nothing to uninstall and if there was, "make uninstall" should have worked. Are you running "make uninstall" from the original build directory or were you trying to recompile from source, so that you can remove an already installed package? If so, you need to compile, make and make install so that the packages are removed.
 
Old 07-15-2006, 10:33 AM   #6
joelkillspeople
LQ Newbie
 
Registered: Jul 2006
Posts: 7

Original Poster
Rep: Reputation: 0
I am really new though :P

I figured out it was too much of a pain to keep going like this, so a new install is in order, because this isn't the first thing I screwed up on the machine.

I appreciate the quick response, keep up the good work.

Thanks,

Joel
 
Old 07-15-2006, 10:41 AM   #7
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
why didn't you just use one of the apt tools to install it? if you're using debian, i would strongly suggest installing it from apt-get (or aptitude, etc.) instead of compiling it yourself. there's really no reason to be compiling it since there are already debian packages that will install everything for you.
 
Old 07-16-2006, 08:00 AM   #8
joelkillspeople
LQ Newbie
 
Registered: Jul 2006
Posts: 7

Original Poster
Rep: Reputation: 0
The install required special compiling. Something like this:

Code:
'./configure' '--prefix=/usr/local/php5' '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-shared=yes' '--enable-static=yes' '--enable-sockets' '--enable-track-vars' '--with-xmlrpc' '--with-zlib-dir=/usr/include' '--with-kerberos=/usr/kerberos' '--with-openssl' '--with-mcrypt=/usr/local/libmcrypt' '--with-mysql=/usr/local/mysql4' '--with-libxml-dir=/usr/lib'
I don't know if there was a way to do that with an apt-get/aptitude install.
 
  


Reply

Tags
apache2, uninstallation


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSe Apache2 error: cannot adjust 'apache2' service sir_shunt SUSE / openSUSE 14 04-18-2006 11:36 AM
Apache2 apache2-common WebDav timgerr Linux - Networking 1 08-25-2005 09:41 PM
Apache2 uninstall on SUSE Janooo Linux - Newbie 4 12-22-2004 10:49 AM
how to uninstall apache2 which is installed by emerge apache2 flybirdlong Linux - Software 1 07-17-2004 11:46 AM
Uninstall Apache2 webee Linux - Newbie 5 01-23-2003 05:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration