Joomla install No configuration file found and no installation code available Exiting

If you have installed Joomla, removed the installation folder then attempt to go to the website directly and you receive the error:

No configuration file found and no installation code available. Exiting…

Go to the root of the website and rename the file configuration.php-dist to configuration.php