How to Install and Uninstall apache2 Package on Kali Linux

Last updated: May 09,2024

1. Install "apache2" package

This is a short guide on how to install apache2 on Kali Linux

$ sudo apt update $ sudo apt install apache2

2. Uninstall "apache2" package

This tutorial shows how to uninstall apache2 on Kali Linux:

$ sudo apt remove apache2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the apache2 package on Kali Linux

Package: apache2
Source: apache2 (2.4.58-1)
Version: 2.4.58-1+b1
Installed-Size: 561
Maintainer: Debian Apache Maintainers
Architecture: amd64
Provides: httpd, httpd-cgi
Depends: apache2-bin (= 2.4.58-1+b1), apache2-data (= 2.4.58-1), apache2-utils (= 2.4.58-1+b1), media-types, perl:any, procps
Pre-Depends: init-system-helpers (>= 1.54~)
Recommends: ssl-cert
Suggests: apache2-doc, apache2-suexec-pristine | apache2-suexec-custom, www-browser
Size: 212452
SHA256: 88692319787f91b9ef74076bb919dd553418b620330494d0b315f3ec7f9cbf4d
SHA1: 94d99f66374e2ca82870d3c79965da4874fded63
MD5sum: 953b3e556f0b3f5ec0bc44bceb80604b
Description: Apache HTTP Server
The Apache HTTP Server Project's goal is to build a secure, efficient and
extensible HTTP server as standards-compliant open source software. The
result has long been the number one web server on the Internet.
.
Installing this package results in a full installation, including the
configuration files, init scripts and support scripts.
Description-md5:
Homepage: https://httpd.apache.org/
Tag: role::metapackage, suite::apache
Section: httpd
Priority: optional
Filename: pool/main/a/apache2/apache2_2.4.58-1+b1_amd64.deb