Uninstalling Apache Problem


Uninstalling Apache


Problem

You have the Apache software installed on your system, and you want to remove it.

Solution

On Red Hat Linux, to remove an Apache version installed with the RPM tool, use:
# rpm -ev apache
Other packaging systems may provide some similar mechanism.
On Windows, Apache can be typically removed like any other MSI-installed software (see Figure 1-14).

Figure 1-14. Uninstalling the Apache software

Discussion

Unfortunately, there is no generic works-for-all removal method for Apache installations on Unixish systems. Some packages, such as Red Hat's RPM, do remember what they installed so they can remove all the pieces, as shown in the solution. However, if the software was installed by building from the sources (see Building Apache from the Sources), the burden of knowing where files were put rests with the person who did the build and install. The same applies if the software was installed from source on a Windows system; it's only the MSI or InstallShield packages that make the appropriate connections to allow the use of the Add/Remove Software control panel.

See Also

No comments:

Post a Comment