If you have a linux system, then apache should be already installed. And dokuwiki doesn't have to be 'linked'. It just has to be located on the web server. If you are using Windows, then download and install XAMP. If you are on linux,use your package manager to update apache, in case it is an older version--but even that shouldn[t matter, since dokuwiki will run on the previous apache.