From faa81b23ae7f5f805631260521954675dcd7368c Mon Sep 17 00:00:00 2001 From: Alexander Fedotov Date: Wed, 30 Aug 2023 23:07:06 -0400 Subject: [PATCH] docs: update LLVM installation guide on general purpose Linux systems --- INSTALL.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 27217c30a..cad985d3c 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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