Its Super Easy simply click on Copy button to copy the command and paste into your command line terminal. Setting LD_LIBRARY_PATH and PKG_CONFIG_PATH variables is useful when building or executing other sources. Quick Install Instructions of curl on Ubuntu Server. Thanks, this will install curl inside /usr/local So it wont collide with the default installation. Ubuntu Community Ask Developer Design Hardware. Install Curl on Ubuntu To use cURL, you can simply type curl at a bash shell prompt. It seems like curl packed with ubuntu 16.04 does not have http2 support.
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 This article shows you how to install curl on Ubuntu systems if it isn’t already present, and gives some simple examples to show you how to use curl and confirm that it is working as expected.