0

I'm trying to install Apache into Ubuntu Desktop 18.04.1, but retrieving the error: package apache2 has no installation candidate Any help, please? Thanks!

karel
  • 114,770
Frank
  • 101
  • 2

1 Answers1

0

I think this command could help you:

echo 'deb http://security.ubuntu.com/ubuntu bionic-security main' >> /etc/apt/sources.list && sudo apt update && sudo apt install apache2

This command adds repository which contains package apache2 for ubuntu 18.04, updates your source list and installs apache2.

metallic
  • 207