|
1 | | -.. Copyright 2013-2023 Lawrence Livermore National Security, LLC and other |
2 | | - Spack Project Developers. See the top-level COPYRIGHT file for details. |
| 1 | +.. Copyright Spack Project Developers. See COPYRIGHT file for details. |
3 | 2 |
|
4 | 3 | SPDX-License-Identifier: (Apache-2.0 OR MIT) |
5 | 4 |
|
|
9 | 8 | Basic Installation Tutorial |
10 | 9 | ========================================= |
11 | 10 |
|
12 | | -This tutorial will guide you through the process of installing software using Spack. |
13 | | -We will first cover the ``spack install`` command, focusing on the power of the spec syntax and the flexibility it gives to users. |
14 | | -We will also cover the ``spack find`` command for viewing installed packages and the ``spack uninstall`` command for uninstalling them. |
15 | | -Finally, we will touch on how Spack manages compilers, especially as it relates to using Spack-built compilers within Spack. |
16 | | -We will include full output from all of the commands demonstrated, although we will frequently call attention to only small portions of that output (or merely to the fact that it succeeded). |
17 | | -The provided output is all from an Ubuntu 22.04 Docker image. |
| 11 | +This tutorial will provide a step-by-step guide for installing software with Spack. |
| 12 | +We will begin by introducing the ``spack install`` command, highlighting the versatility of Spack’s spec syntax and the flexibility it offers users. |
| 13 | +Next, we will demonstrate how to use the ``spack find`` command to view installed packages, as well as the ``spack uninstall`` command to remove them. |
| 14 | + |
| 15 | +Additionally, we will discuss how Spack manages compilers, with a particular focus on using Spack-built compilers within the Spack environment. |
| 16 | +Throughout the tutorial, we will present complete command outputs; however, we will often emphasize only the most relevant sections or simply confirm successful execution. |
| 17 | +All examples and outputs are based on an Ubuntu 22.04 Docker image. |
18 | 18 |
|
19 | 19 | .. _basics-tutorial-install: |
20 | 20 |
|
21 | 21 | ---------------- |
22 | 22 | Installing Spack |
23 | 23 | ---------------- |
24 | 24 |
|
25 | | -Spack works out of the box. |
26 | | -Simply clone Spack to get going. |
27 | | -We will clone Spack and immediately check out the most recent release, v0.23. |
| 25 | +Spack is ready to use immediately after installation. |
| 26 | +To get started, we simply clone the Spack repository and check out the latest release, v1.0. |
28 | 27 |
|
29 | 28 | .. literalinclude:: outputs/basics/clone.out |
30 | 29 | :language: console |
31 | 30 |
|
32 | | -Next, add Spack to your path. |
| 31 | +Next, we'll add Spack to our path. |
33 | 32 | Spack has some nice command-line integration tools, so instead of simply prepending to your ``PATH`` variable, source the Spack setup script. |
34 | 33 |
|
35 | 34 | .. code-block:: console |
|
0 commit comments