<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Curl &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-tags/curl/feed/" rel="self" type="application/rss+xml" />
	<link>https://help.hostry.com</link>
	<description>Full information on how to use HOSTRY, provided by 24/7 community based support</description>
	<lastBuildDate>Thu, 23 Apr 2020 10:32:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.12</generator>

<image>
	<url>https://help.hostry.com/wp-content/uploads/cache/2021/01/cropped-apple-icon-180x180-1/836712163.png</url>
	<title>Curl &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Install and Use Curl on CentOS 8</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-and-use-curl-on-centos-8/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-and-use-curl-on-centos-8/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Thu, 23 Apr 2020 10:32:16 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=1641</guid>

					<description><![CDATA[Curl is a command line tool for transferring data from or to a remote server. With curl, you can upload data using various network protocols such as HTTP, SFTP, FTP, HTTPS and SCP. Install Curl on CentOS The Curl package is available in the standard CentOS 8 repositories. To install [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><em><a href="https://curl.haxx.se/">Curl </a></em></strong>is a command line tool for transferring data from or to a remote server. With curl, you can upload data using various network protocols such as HTTP, SFTP, FTP, HTTPS and SCP.</p>



<h2 id="install-curl-on-centos" >Install Curl on CentOS </h2>



<p>The Curl package is available in the standard CentOS 8 repositories. To install it, run the following command:</p>



<pre class="wp-block-preformatted">sudo dnf install curl</pre>



<p>After installation is complete, verify this by typing curl in your terminal:</p>



<pre class="wp-block-preformatted">curl</pre>



<p>After that, the output will appear:</p>



<pre class="wp-block-preformatted">curl: try 'curl --help' or 'curl --manual' for more information</pre>



<p>Curl has been successfully installed on your server and you can use it!</p>



<h2 id="operations-using-curl" >Operations Using Curl </h2>



<p>When used without any option, curl prints the source code of this URL to standard output:</p>



<pre class="wp-block-preformatted">curl https://example.ru</pre>



<p>To download a file using curl, use the -o or -O option and then the file URL. The -o lowercase parameter allows you to specify the file name to save:</p>



<pre class="wp-block-preformatted">curl -o linux.tar.xz https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.5.3.tar.xz</pre>



<p>When used with the -I option, curl displays the HTTP headers for this URL:</p>



<pre class="wp-block-preformatted">curl -I https://www.centos.org/</pre>



<pre class="wp-block-preformatted">HTTP/1.1 200 OK
Date: Wed, 19 Feb 2020 07:30:48 GMT
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips
Strict-Transport-Security: max-age=31536000
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: same-origin                                                                                                                                                    
Last-Modified: Thu, 06 Feb 2020 17:21:08 GMT                                                                                                                                    
ETag: "5421-59deb7fadfdfd"                                                                                                                                                      
Accept-Ranges: bytes                                                                                                                                                            
Content-Length: 21537                                                                                                                                                           
Content-Type: text/html; charset=UTF-8</pre>



<p>With curl, you can also upload files from password protected FTP servers:</p>



<pre class="wp-block-preformatted">curl -u FTP_USERNAME:FTP_PASSWORD ftp://ftp.example.com/file.tar.gz</pre>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-and-use-curl-on-centos-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
