From 4e1196c7149b082198b27da1549b622be58fa947 Mon Sep 17 00:00:00 2001 From: PouyaGhahramanian Date: Mon, 21 Jul 2025 18:28:22 +0300 Subject: [PATCH 1/2] docs: add libcurl-dev install hint for Linux distros Signed-off-by: PouyaGhahramanian --- docs/build.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/build.md b/docs/build.md index 849c8252694fa..3fdb97f3c4ff9 100644 --- a/docs/build.md +++ b/docs/build.md @@ -68,6 +68,10 @@ cmake --build build --config Release cmake --build build-x64-windows-llvm-release ``` - Curl usage is enabled by default and can be turned off with `-DLLAMA_CURL=OFF`. Otherwise you need to install development libraries for libcurl. + - **Debian / Ubuntu:** `sudo apt-get install libcurl4-openssl-dev` + _(or `libcurl4-gnutls-dev` if you prefer GnuTLS)_ + - **Fedora / RHEL / Rocky / Alma:** `sudo dnf install libcurl-devel` + - **Arch / Manjaro:** `sudo pacman -S curl` # includes libcurl headers ## BLAS Build From ea082632a9d83f74ecf0961b3088fae0250b316f Mon Sep 17 00:00:00 2001 From: Xuan-Son Nguyen Date: Thu, 24 Jul 2025 11:15:13 +0200 Subject: [PATCH 2/2] Update docs/build.md --- docs/build.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/build.md b/docs/build.md index 3fdb97f3c4ff9..dd486fe293546 100644 --- a/docs/build.md +++ b/docs/build.md @@ -68,8 +68,7 @@ cmake --build build --config Release cmake --build build-x64-windows-llvm-release ``` - Curl usage is enabled by default and can be turned off with `-DLLAMA_CURL=OFF`. Otherwise you need to install development libraries for libcurl. - - **Debian / Ubuntu:** `sudo apt-get install libcurl4-openssl-dev` - _(or `libcurl4-gnutls-dev` if you prefer GnuTLS)_ + - **Debian / Ubuntu:** `sudo apt-get install libcurl4-openssl-dev` # (or `libcurl4-gnutls-dev` if you prefer GnuTLS) - **Fedora / RHEL / Rocky / Alma:** `sudo dnf install libcurl-devel` - **Arch / Manjaro:** `sudo pacman -S curl` # includes libcurl headers