title: Install unixODBC >= 2.3.1 on Linux Redhat/CentOS for msodbcsql17
body: <p>I try to install msodbcsql17 on AWS EC2 with CentOS/RedHat (Linux). </p>
  
  <p>These are the steps, I have followed, from Microsoft (<a href="https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-2017#redhat-enterprise-server-6-and-7" rel="noreferrer">LINK</a>):</p>
  
  <pre><code>sudo su
  
  #Download appropriate package for the OS version
  #Choose only ONE of the following, corresponding to your OS version
  
  #RedHat Enterprise Server 6
  curl https://packages.microsoft.com/config/rhel/6/prod.repo &gt; /etc/yum.repos.d/mssql-release.repo
  
  #RedHat Enterprise Server 7
  curl https://packages.microsoft.com/config/rhel/7/prod.repo &gt; /etc/yum.repos.d/mssql-release.repo
  
  exit
  sudo yum remove unixODBC-utf16 unixODBC-utf16-devel #to avoid conflicts
  sudo ACCEPT_EULA=Y yum install msodbcsql17
  # optional: for bcp and sqlcmd
  sudo ACCEPT_EULA=Y yum install mssql-tools
  echo 'export PATH="$PATH:/opt/mssql-tools/bin"' &gt;&gt; ~/.bash_profile
  echo 'export PATH="$PATH:/opt/mssql-tools/bin"' &gt;&gt; ~/.bashrc
  source ~/.bashrc
  # optional: for unixODBC development headers
  sudo yum install unixODBC-devel
  </code></pre>
  
  <p>The instruction work until the installation of msodbcsql17. I get the following error message:</p>
  
  <pre><code>Error: Package: msodbcsql17 (packages-microsoft-com-prod)
             Requires: unixODBC &gt;= 2.3.1
             Available: unixODBC-2.2.14-14.7.amzn1.i686 (amzn-main)
                 unixODBC = 2.2.14-14.7.amzn1
  </code></pre>
  
  <p>I think the problem is, that the maximum available version of unixODBC is less then 2.3.1, but how can I install msodbcsql17, to connect with Microsoft?</p>