LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Uninstalling Apache2 (https://www.linuxquestions.org/questions/debian-26/uninstalling-apache2-339400/)

kumarsundaram 07-02-2005 02:26 PM

Uninstalling Apache2
 
Hello,
My first day of using Debian and love it so far:-) Although, I have a minor problem as described below.

I downloaded .deb package for apache2 from debian distribution website and installed it with the following command:

dpkg -i apache2packagename.deb

The installation went fine and apache is working:-)

Now, I want to remove apache2 from my machine (just for fun..if you believe it)

But, when I try this command:
dpkg --purge apache2packagename
I get "dpkg - warning: ignoring request to remove apache2packagename which isn't installed".

I understand the 'meaning' of the above message....but I want know how to go about *completely* removing apache2 installation from my machine.... Thank you!

stefan_nicolau 07-02-2005 07:16 PM

dpkg --purge apache2

Noth 07-02-2005 08:59 PM

Yes, unlike RPM you specify the package name without the version (unless the maintainer happened to put the version in the package name...)

Generally it's frowned upon to use dpkg directly, you'll probably have better luck with a higher level too like apt or aptitude or even dselect.


All times are GMT -5. The time now is 07:30 AM.