|
1 | | -.. Copyright (c) 2023 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved. |
| 1 | +.. Copyright (c) 2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved. |
2 | 2 | .. SPDX-License-Identifier: Apache-2.0 |
3 | 3 |
|
4 | 4 | .. _dpm: |
@@ -56,46 +56,9 @@ Windows Installation |
56 | 56 |
|
57 | 57 | Download and run the `windows installer <https://get.digitalasset.com/install/latest-windows.html>`_, which will install the dpm sdk and set up the PATH variable for you. |
58 | 58 |
|
59 | | -.. _dpm-manual-installation: |
60 | | - |
61 | 59 | Manual Installation Instructions |
62 | 60 | ================================ |
63 | | - |
64 | | -If you cannot / wish not to use the shell script to install for Linux or OSX, you can alternatively install dpm manually by running this set of commands in your terminal: |
65 | | - |
66 | | -.. code:: shell |
67 | | -
|
68 | | - #get latest version number |
69 | | - readonly VERSION="$(curl -sS "https://get.digitalasset.com/install/latest")" |
70 | | -
|
71 | | - # set your architecture to either amd64 | arm64 |
72 | | - readonly ARCH="$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')" |
73 | | -
|
74 | | - # set your OS to either darwin or linux |
75 | | - readonly OS="$(uname | tr '[:upper:]' '[:lower:]')" |
76 | | -
|
77 | | - #pull down appropriate tarball for your OS and architecture |
78 | | - readonly TARBALL="dpm-${VERSION}-${OS}-${ARCH}.tar.gz" |
79 | | -
|
80 | | - # determine location of tarball to download |
81 | | - TARBALL_URL="https://artifactregistry.googleapis.com/download/v1/projects/da-images/locations/europe/repositories/public-generic/files/dpm-sdk:${VERSION}:${TARBALL}:download?alt=media" |
82 | | -
|
83 | | - # make tmpdir |
84 | | - TMPDIR="$(mktemp -d)" |
85 | | -
|
86 | | - # download tarball |
87 | | - curl -SLf "${TARBALL_URL}" --output "${TMPDIR}/${TARBALL}" --progress-bar "$@" |
88 | | -
|
89 | | - # create directory to extract into |
90 | | - extracted="${TMPDIR}/extracted" |
91 | | - mkdir -p "${extracted}" |
92 | | -
|
93 | | - # untar |
94 | | - tar xzf "${TMPDIR}/${TARBALL}" -C "${extracted}" --strip-components 1 |
95 | | -
|
96 | | - # bootstrap dpm |
97 | | - "${extracted}/bin/dpm" bootstrap "${extracted}" |
98 | | -
|
| 61 | +If you prefer a more manual installation process, see :ref:`here <dpm-manual-installation>`. |
99 | 62 |
|
100 | 63 | .. _dpm-manual-managing-releases: |
101 | 64 |
|
|
0 commit comments