Skip to content

Commit 843739f

Browse files
authored
Update the Linux dependencies (#38170)
1 parent 910d918 commit 843739f

File tree

1 file changed

+10
-27
lines changed

1 file changed

+10
-27
lines changed

docs/HowToGuides/GettingStarted.md

Lines changed: 10 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -151,35 +151,18 @@ Double-check that running `pwd` prints a path ending with `swift`.
151151
[Homebrew]: https://brew.sh/
152152
[Homebrew Bundle]: https://github.com/Homebrew/homebrew-bundle
153153
154-
### Ubuntu Linux
155-
156-
1. For Ubuntu 16.04 LTS and 18.04 LTS, run the following:
157-
158-
```sh
159-
sudo apt-get install \
160-
clang \
161-
cmake \
162-
git \
163-
icu-devtools \
164-
libcurl4-openssl-dev \
165-
libedit-dev \
166-
libicu-dev \
167-
libncurses5-dev \
168-
libpython3-dev \
169-
libsqlite3-dev \
170-
libxml2-dev \
171-
ninja-build \
172-
pkg-config \
173-
python \
174-
python-six \
175-
rsync \
176-
swig \
177-
systemtap-sdt-dev \
178-
tzdata \
179-
uuid-dev
154+
### Linux
155+
156+
1. The latest Linux dependencies are listed in the respective Dockerfiles:
157+
* [Ubuntu 20.04](https://github.com/apple/swift-docker/blob/main/swift-ci/master/ubuntu/20.04/Dockerfile)
158+
* [CentOS 7](https://github.com/apple/swift-docker/blob/main/swift-ci/master/centos/7/Dockerfile)
159+
* [CentOS 8](https://github.com/apple/swift-docker/blob/main/swift-ci/master/centos/8/Dockerfile)
160+
* [Amazon Linux 2](https://github.com/apple/swift-docker/blob/main/swift-ci/master/amazon-linux/2/Dockerfile)
161+
162+
2. To install sccache (optional):
163+
```
180164
sudo snap install sccache --candidate --classic
181165
```
182-
183166
**Note:** LLDB currently requires at least `swig-1.3.40` but will
184167
successfully build with version 2 shipped with Ubuntu.
185168

0 commit comments

Comments
 (0)