title: How to download an rpm file using CURL?
body: <p>I'm using centos 6.9 and ubuntu 16, and trying to download an rpm file using curl command but unable to download in Centos but its working on Ubuntu. </p>
  
  <p>Terminal Output ::
  Ubuntu : </p>
  
  <p>curl -O <a href="https://dev.mysql.com/get/mysql80-community-release-el6-1.noarch.rpm" rel="nofollow noreferrer">https://dev.mysql.com/get/mysql80-community-release-el6-1.noarch.rpm</a></p>
  
  <p>ubuntu:/tmp/rpms$ ls</p>
  
  <p>mysql80-community-release-el6-1.noarch.rpm</p>
  
  <p>When I tried the same command on CentOS it is not working.. Please Help!</p>
  
  <p>[root@localContainer-MyLab55 ~]# curl -O <a href="https://dev.mysql.com/get/mysql80-community-release-el6-1.noarch.rpm" rel="nofollow noreferrer">https://dev.mysql.com/get/mysql80-community-release-el6-1.noarch.rpm</a></p>
  
  <p>[root@localContainer-MyLab55 ~]# ls</p>
  
  <p>anaconda-ks.cfg  install.log  install.log.syslog</p>