Install curl on Ubuntu via command line (sudo apt-get install curl). Resolve the error messgae “curl not found ubuntu” or “the program ‘curl’ is currently not installed.”
curl is the command line tool and library that is used for transferring data with URL syntax. curl is installed when you install the operating system. Brocade recommends that you install curl before running the controller installation script only for an offline installation.
curl is used in command lines or scripts to transfer data. curl supports DICT, FILE, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMB, SMTP, SMTPS, Telnet and TFTP. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, HTTP/2, cookies, user+password authentication (Basic, Plain, Digest, CRAM-MD5, NTLM, Negotiate and Kerberos), file transfer resume, proxy tunneling and more.
Install Curl on Ubuntu
The most recent stable version is 7.50.2, released on 7th of September 2016. Use the following commands to install curl by using the apt-get install command:
sudo apt-get update
sudo apt-get install curl
If you wish to install PHP-Curl on Ubuntu, use:
sudo apt-get update
sudo apt-get install php-curl
Alternate Method To Install Curl
Ubuntu users can also install Curl using the commands given below:
wget http://curl.haxx.se/download/curl-7.50.2.tar.gz
tar -xvf curl-7.50.2.tar.gz
cd curl-7.50.2
./configure
make
sudo make install
Once installed, verify curl using the command given belo:
curl --version