Skip to content

docs: add libcurl-dev install hint for Linux distros #14801

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PouyaGhahramanian
Copy link

I hit a CMake configure error: Could NOT find CURL when building on Ubuntu. The build guide mentions that curl is enabled by default and can be disabled, but doesn’t list the packages to install. This PR adds distro-specific install one-liners (Debian/Ubuntu, Fedora/RHEL, Arch) below the curl note to help first-time builders avoid the error. Tested on Ubuntu 22.04: reinstalling libcurl4-openssl-dev allowed CMake to find CURL successfully.

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jul 21, 2025
@@ -68,6 +68,9 @@ 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`
- Fedora / RHEL: `sudo dnf install libcurl-devel`
- Arch: `sudo pacman -S curl`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should it be something like libcurl or curl-dev or something else? otherwise we should remove this line if unsure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants