Ubuntu has a package manager that can be used to download
and install software packages from software repositories
on the web.
You can select from several repositories.
Apache and much more can be installed.
I beleive the server edition of ubuntu alredy has apache installed.
Please see here.
www.ubuntu.com