Skip to content

Commit

Permalink
Merge pull request #933 from hash-org/install-docs
Browse files Browse the repository at this point in the history
docs: update LLVM installation guide on general purpose Linux systems
  • Loading branch information
feds01 authored Aug 31, 2023
2 parents 6fc1634 + faa81b2 commit aa44737
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,13 @@ Alternatively, you can download the pre-built binaries from the [LLVM website](h

### Linux

To install on Linux, the simplest way to install it is using a package manager, such as `apt`, `yum`, `dnf`, etc. With `apt` it
can be installed using the following command:
To install on Linux, the simplest way to install it is using a package manager, such as `apt`, `yum`, `dnf`, etc.

With `apt` on Ubuntu it can be installed using the following command:
```bash
apt install llvm-15 llvm-15-* liblld-15* libclang-common-13-dev
add-apt-repository -y "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-15 main" # Add the LLVM repository
apt update
apt install llvm-15 llvm-15-* liblld-15* libpolly-15-dev libz-dev
```

### After installation
Expand Down

0 comments on commit aa44737

Please sign in to comment.