The installation instructions on https://docs.ckan.org/en/2.9/maintaining/installing/install-from-source.html are fine, except:
- I don't install Solr locally on the same machine, so I don't need to install Solr, Jetty or Java. Installing the required packages is therefore done like this:
$ sudo apt-get install python3-dev postgresql libpq-dev python3-pip python3-venv git-core redis-server