Skip to content

Commit

Permalink
Documentation: Add steps to install clang
Browse files Browse the repository at this point in the history
  • Loading branch information
LalitSinghRana authored and ADKaster committed Jul 1, 2024
1 parent 002bef8 commit 2248ea1
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion Documentation/BuildInstructionsLadybird.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,26 @@ Qt6 development packages and a C++23 capable compiler are required. g++-13 or cl

NOTE: In all of the below lists of packages, the Qt6 multimedia package is not needed if your Linux system supports PulseAudio.

On Debian/Ubuntu required packages include, but are not limited to:
---

### On Debian/Ubuntu:

##### For C++23 capable compiler:

- `clang` installation steps:

```bash
# Add LLVM GPG signing key
sudo wget -O /usr/share/keyrings/llvm-snapshot.gpg.key https://apt.llvm.org/llvm-snapshot.gpg.key

# Verify the GPG key, and append it to the sources list for apt
echo "deb [signed-by=/usr/share/keyrings/llvm-snapshot.gpg.key] https://apt.llvm.org/$(lsb_release -sc)/ llvm-toolchain-$(lsb_release -sc)-18 main" | sudo tee -a /etc/apt/sources.list.d/llvm.list

# Update apt package list and install clang
sudo apt update -y && sudo apt install clang-18 -y
```

##### Required packages include, but are not limited to:

```
sudo apt install autoconf autoconf-archive automake build-essential cmake libavcodec-dev libgl1-mesa-dev ninja-build qt6-base-dev qt6-tools-dev-tools qt6-multimedia-dev ccache fonts-liberation2 zip unzip curl tar
Expand All @@ -18,6 +37,8 @@ For Ubuntu 20.04 and above, ensure that the Qt6 Wayland packages are available:
sudo apt install qt6-wayland
```

---

On Arch Linux/Manjaro:

```
Expand Down

0 comments on commit 2248ea1

Please sign in to comment.