summaryrefslogtreecommitdiff
path: root/lib/spack/docs/getting_started.rst
diff options
context:
space:
mode:
authorAxel Huebl <axel.huebl@plasma.ninja>2022-10-10 16:25:37 -0700
committerGitHub <noreply@github.com>2022-10-10 23:25:37 +0000
commit9d89dba292c2690771aa006caac1cd25811e7391 (patch)
tree97e6324184cf6e5e6d46cdc9cbf550039e65945d /lib/spack/docs/getting_started.rst
parenta05a34361a064bdf9a8e478ae29cb4c71ad3cc10 (diff)
downloadspack-9d89dba292c2690771aa006caac1cd25811e7391.tar.gz
spack-9d89dba292c2690771aa006caac1cd25811e7391.tar.bz2
spack-9d89dba292c2690771aa006caac1cd25811e7391.tar.xz
spack-9d89dba292c2690771aa006caac1cd25811e7391.zip
Docs: Getting Started Dependencies (#32480)
* Docs: Getting Started Dependencies Finally document what one needs to install to use Spack on Linux and Mac :-) With <3 for minimal container users and my colleagues with their fancy Macs. * Debian Update Packages: GCC, Python - build-essential: includes gcc, g++ (thx Cory) - Python: add python3-venv, python3-distutils (thx Pradyun) * Add RHEL8 Dependencies
Diffstat (limited to 'lib/spack/docs/getting_started.rst')
-rw-r--r--lib/spack/docs/getting_started.rst32
1 files changed, 30 insertions, 2 deletions
diff --git a/lib/spack/docs/getting_started.rst b/lib/spack/docs/getting_started.rst
index 3a7371a09c..a7d860510a 100644
--- a/lib/spack/docs/getting_started.rst
+++ b/lib/spack/docs/getting_started.rst
@@ -23,8 +23,36 @@ be present on the machine where Spack is run:
These requirements can be easily installed on most modern Linux systems;
on macOS, XCode is required. Spack is designed to run on HPC
platforms like Cray. Not all packages should be expected
-to work on all platforms. A build matrix showing which packages are
-working on which systems is planned but not yet available.
+to work on all platforms.
+
+A build matrix showing which packages are working on which systems is shown below.
+
+.. tab-set::
+
+ .. tab-item:: Debian/Ubuntu
+
+ .. code-block:: console
+
+ apt update
+ apt install build-essential ca-certificates coreutils curl environment-modules gfortran git gpg lsb-release python3 python3-distutils python3-venv unzip zip
+
+ .. tab-item:: RHEL
+
+ .. note::
+
+ yum update -y
+ yum install -y epel-release
+ yum update -y
+ yum --enablerepo epel groupinstall -y "Development Tools"
+ yum --enablerepo epel install -y curl findutils gcc-c++ gcc gcc-gfortran git gnupg2 hostname iproute make patch python3 python3-pip python3-setuptools unzip
+ python3 -m pip install boto3
+
+ .. tab-item:: macOS Brew
+
+ .. code-block:: console
+
+ brew update
+ brew install curl gcc git gnupg zip
------------
Installation