![]() When copying or creating a symbolic link the library installed under /usr/local, it is recommended to set it. ![]() Setting LD_LIBRARY_PATH and PKG_CONFIG_PATH variables is useful when building or executing other sources. After doing so, check available options supported by curl and verify the installation by running the curl help command on the terminal. Following are the steps for the installation of PHP-CURL on your Ubuntu system: Step 1: Install PHP libraries for the server by running the following command: sudo add-apt-repository ppa:ondrej/php. Then, install curl using the sudo apt install curl command in Ubuntu’s terminal. How to install curl on Debian Linux 10/9/8. ![]() Terminal // /usr/local/bin # ln -s /usr/local/curl/7_65_3/bin/curl /usr/local/bin/ # ln -s /usr/local/curl/7_65_3/bin/curl-config /usr/local/bin/ // /usr/local/include # ln -s //usr/local/curl/7_65_3/include/curl /usr/local/include/ // /usr/local/lib # ln -s /usr/local/curl/7_65_3/lib/libcurl.a /usr/local/lib/ # ln -s /usr/local/curl/7_65_3/lib/libcurl.la /usr/local/lib/ # ln -s /usr/local/curl/7_65_3/lib/libcurl.so /usr/local/lib/ # ln -s /usr/local/curl/7_65_3/lib/libcurl.so.4 /usr/local/lib/ # ln -s /usr/local/curl/7_65_3/lib/libcurl.so.4.5.0 /usr/local/lib/ // /usr/local/lib/pkgconfig # ln -s /usr/local/curl/7_65_3/lib/pkgconfig/libcurl.pc /usr/local/lib/pkgconfig/ // /usr/local/share/aclocal # ln -s /usr/local/curl/7_65_3/share/aclocal/libcurl.m4 /usr/local/share/aclocal/ Set Environment Variable On Ubuntu 22.04, to install curl, first update the system packages. Install curl on Debian, execute: sudo apt install curl Test curl Let us see how to install and use curl on Debian.
0 Comments
Leave a Reply. |