Results 1 to 5 of 5
How do you remove a package with apt? I'm trying to uninstall apache2. I have tried "apt-get remove apache2 apache2-common httpd" and every package I can think of. It says ...
- 08-03-2008 #1Linux Newbie
- Join Date
- Aug 2005
- Location
- Sterling, VA
- Posts
- 100
Removing Apache2 (or any package)
How do you remove a package with apt? I'm trying to uninstall apache2. I have tried "apt-get remove apache2 apache2-common httpd" and every package I can think of. It says they are now uninstalled, but the web server is still running. The binaries are still there.
What am I doing wrong? How is apache still running if I have uninstalled the packages?- EndianX -
- 08-03-2008 #2
might be a good idea to stop apache or kill the pid
apt-get remove should have done it. you can also tryCode:/etc/init.d/apache2 stop killall -9 apache
the -P means purge and should remove it completely.Code:dpkg -P apache2
- 08-07-2008 #3Just Joined!
- Join Date
- Jun 2008
- Posts
- 9
I usually use aptitude purge filename. It's a personal choice.
jledhead answered nicely.
- 08-07-2008 #4
- 08-07-2008 #5


Reply With Quote

