Skip to content

Commit 5138f2a

Browse files
authored
Update static-linux-getting-started.md to mention checksums (#775)
1 parent ba8ae0e commit 5138f2a

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

documentation/articles/static-linux-getting-started.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,21 +108,25 @@ Before you start, it's important to note:
108108
version in its filename to help identify the correct version of the
109109
SDK.
110110

111+
* When installing Swift SDKs from remote URLs, you have to pass a
112+
`--checksum` option with the corresponding checksum provided by the
113+
author of the Swift SDK.
114+
111115
Once that is out of the way, actually installing the Static Linux SDK
112116
is easy; at a prompt, enter
113117

114118
```console
115-
$ swift sdk install <URL-or-filename-here>
119+
$ swift sdk install <URL-or-filename-here> [--checksum <checksum-for-archive-URL>]
116120
```
117121

118-
giving the URL or filename at which the SDK can be found.
122+
giving the URL (and a corresponding checksum) or filename at which the SDK can be found.
119123

120124
For instance, assuming you have installed the
121-
`swift-6.0-DEVELOPMENT-SNAPSHOT-2024-06-06-a` toolchain, you would
125+
`swift-6.0-DEVELOPMENT-SNAPSHOT-2024-07-02-a` toolchain, you would
122126
need to enter
123127

124128
```console
125-
$ swift sdk install https://download.swift.org/development/static-sdk/swift-DEVELOPMENT-SNAPSHOT-2024-06-06-a/swift-DEVELOPMENT-SNAPSHOT-2024-06-06-a_static-linux-0.0.1.artifactbundle.tar.gz
129+
$ swift sdk install https://download.swift.org/swift-6.0-branch/static-sdk/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-07-02-a/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-07-02-a_static-linux-0.0.1.artifactbundle.tar.gz --checksum 42a361e1a240e97e4bb3a388f2f947409011dcd3d3f20b396c28999e9736df36
126130
```
127131

128132
to install the corresponding Static Linux SDK.

0 commit comments

Comments
 (0)