diff options
| author | PierreEbele <127682386+PierreEbele@users.noreply.github.com> | 2026-11-24 20:10:00 +0100 |
|---|---|---|
| committer | PierreEbele <127682386+PierreEbele@users.noreply.github.com> | 2026-11-26 16:58:23 +0100 |
| commit | e535a24bb6671927997a8daaf3529262e67ffc18 (patch) | |
| tree | 5476903984667d5e02e3da935ddebfc9b1ec6ef6 /docs/linux.md | |
| parent | 246791612080cae89dc40cd20c5cdb8d92f90066 (diff) | |
scripts: install the Linux prerequisites in one command (BUILD-LINUX-DEPS-INSTALLER)
scripts/install_deps_linux.sh installs what docs/linux.md lists with apt
(Debian, Ubuntu and derivatives), dnf or pacman. It takes the newest
llvm-21 or later the distribution packages, leaves out optional packages
it lacks, shows the commands and asks before running them (--dry-run,
--yes, --minimal), then checks Python 3.12+, llvm-mc with AMDGPU,
SPIRV-Tools, CMake 3.24+, Ninja, a C++ compiler and the Vulkan headers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/linux.md')
| -rw-r--r-- | docs/linux.md | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/linux.md b/docs/linux.md index c9ea03b84..365b96ec3 100644 --- a/docs/linux.md +++ b/docs/linux.md | |||
| @@ -20,7 +20,14 @@ names; the build lists anything it can't find before it starts. | |||
| 20 | 20 | ||
| 21 | ## Build the port | 21 | ## Build the port |
| 22 | 22 | ||
| 23 | Install the prerequisites (Ubuntu 26.04; the comment says what each is for): | 23 | `scripts/install_deps_linux.sh` installs all of the prerequisites below with apt (Debian, Ubuntu and derivatives |
| 24 | such as Parrot or Kali), dnf (Fedora) or pacman (Arch). It shows the commands and asks before running them | ||
| 25 | (`--dry-run` only shows them, `--minimal` leaves out .NET, ffmpeg, zenity and Tk), then checks what the build needs. | ||
| 26 | On apt it takes the newest `llvm-21` or later the system's own sources have: `llvm-22` on Debian 12 and 13 and their | ||
| 27 | derivatives, `llvm-21` on Ubuntu 22.04 and 24.04, so apt.llvm.org isn't needed there. The check after the install | ||
| 28 | reports a Python older than 3.12 (Debian 12 has 3.11, Ubuntu 22.04 3.10). | ||
| 29 | |||
| 30 | Or install them by hand (Ubuntu 26.04; the comment says what each is for): | ||
| 24 | 31 | ||
| 25 | ```sh | 32 | ```sh |
| 26 | sudo apt install git python3 \ | 33 | sudo apt install git python3 \ |