Step 2: Install Latest Apache Solr on Ubuntu 18.04 / Debian 9

Apache Solr is not available on Ubuntu & Debian upstream repositories, it need to be downloaded and installed manually. The releases of Apache Solr are available on the official website, check the link before saving the version to the LATEST_VERvariable.