I've been trying for the past few days to install Apache2 on Kali Linux. No matter what I've tried, when I do
sudo apt install apache2
it says that there's no installation candidate for the package. I'm fairly new to Linux.
Reading package lists... Done Building dependency tree Reading state information... Done Package apache2 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'apache2' has no installation candidate