diff --git a/INSTALL.md b/INSTALL.md index 28935e36..c2d153e0 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,6 +1,6 @@ # Installing Sous-Chef -These instructions document how to install Sous-Chef on Debian 10. +These instructions document how to install Sous-Chef on Ubuntu 22.04. To update an existing installation, see [UPDATE.md](UPDATE.md). @@ -9,17 +9,26 @@ To update an existing installation, see [UPDATE.md](UPDATE.md). Become root, then install the dependencies. ``` -apt install mariadb-server nginx libnginx-mod-http-fancyindex gdal-bin python3 \ - python3-pip libmariadb-dev-compat +sudo su - +apt install --no-install-recommends mariadb-server nginx libnginx-mod-http-fancyindex gdal-bin python3 \ + python3-pip libmariadb-dev-compat build-essential + +# Install python 3.7 (old version) +add-apt-repository ppa:deadsnakes/ppa -y +apt update +apt install --no-install-recommends python3.7 python3.7-distutils python3.7-dev +wget https://bootstrap.pypa.io/get-pip.py +python3.7 get-pip.py + # Invoke pip with 'python3 -m pip' to avoid a warning about a wrapper script -python3 -m pip install -U pip certifi -python3 -m pip install gunicorn -python3 -m pip install souschef +python3.7 -m pip install -U pip certifi +python3.7 -m pip install gunicorn +python3.7 -m pip install souschef ``` To install a development version of Sous-Chef from the PyPI test index, run: ``` -python3 -m pip install --extra-index-url https://test.pypi.org/simple/ souschef==1.3.0.dev2 +python3.7 -m pip install --extra-index-url https://test.pypi.org/simple/ souschef==1.3.0.dev2 ``` 2. Configure the database