Could NOT find CURL

Error  — Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)

 

  • Open a terminal window and install the following for Debian, Ubuntu and related distributions. The libssl-dev is needed for the common HTTPS protocol used today.
sudo apt-get install curl libssl-dev libcurl4-openssl-dev
  • For Fedora, CentOS, RHEL, and related distro use the below:
sudo dnf install curl libcurl-devel
  • And for Arch Linux, Manjaro use the following.
sudo pacman -S --needed curl libcurl-compat

Теги: curl, error, linux