Requirements/Dependencies¶
System Requirements¶
Arches works on Linux, Windows, or macOS. Most production implementations use Linux servers.
To begin development or make a test installation of Arches, you will need the following minimum resources:
- Disk Space
2GB for all dependencies and Arches.
8GB to store uploaded files, database backups, etc.
Depending on how many uploaded files (images, 3d models, etc) you will have, you may need much more disk space. We advise an early evaulation of how much space you think you’ll need, and then provision twice as much just to be safe…
- Memory (RAM)
4GB
This recommendation is based on the fact that ElasticSearch requires 2GB to run, and as per official ElasticSearch documentation no more than half of your system’s memory should be dedicated to ElasticSearch.
In production, you may want to increase your memory, and allow ElasticSearch to use up to 32GB.
Software Dependencies¶
Arches requires the following software packages to be installed and available. Ubuntu Linux users see below for an installation script.
- Python >= 3.7
Installation: https://www.python.org/downloads/
Python 3.7 and later comes with pip
Windows You must choose 32-bit or 64-bit Python based on your system architecture.
macOS This guide works well if you wish to install via brew: https://docs.python-guide.org/starting/install3/osx/
- PostgreSQL >= 12 with PostGIS 3
macOS Use Postgres.app.
Windows Use the EnterpriseDB installers, and use Stack Builder (included) to get PostGIS. After installation, add the following to your system’s
PATH
environment variable:C:\Program Files\PostgreSQL\12\bin
. Make sure you write down the password that you assign to thepostgres
user.
- Elasticsearch 8
Installers: https://www.elastic.co/downloads/past-releases/elasticsearch-8-5-1
Elasticsearch is integral to Arches and can be installed and configured many ways. For more information, see Arches and Elasticsearch.
- GDAL >= 2.2.x
Windows Use the OSGeo4W installer, and choose to install the GDAL package (you don’t need QGIS or GRASS). After installation, add
C:\OSGeo4W64\bin
to your system’sPATH
environment variable.
- Node.js 16.x (recommended)
Installation: https://nodejs.org/ (choose the installer appropriate to your operating system).
NOTE: Arches may not be compatible with later versions of Node.js (after 16) (see discussion).
- Yarn >= 1.22, < 2
Recommended Installation: https://classic.yarnpkg.com/en/docs/install (One can also install Yarn via apt on Linux operating systems, see example).
NOTE: We are pointing to the “classic” yarn installer to avoid installation of more recent versions of yarn that are not compatible with Arches via the Node.js package manager.
To support long-running task management, like large user downloads, you must install a Celery broker like RabbitMQ or Redis:
- Brokers
Once you have a broker installed, read more about Task Management in Arches.
Scripted Dependency Installation¶
For Ubuntu we maintain an ubuntu_setup.sh script to install dependencies. It works for 18.04 and 20.04, and preliminary testing shows it be compatible with 22.04 as well.
wget https://raw.githubusercontent.com/archesproject/arches/stable/7.1.0/arches/install/ubuntu_setup.sh
source ./ubuntu_setup.sh
You will be prompted before each dependency is installed, or use yes | source ./ubuntu_setup.sh
to install all components (Postgres/PostGIS, Node/Yarn, and ElasticSearch).