Score:0

How to download binaries for MS ODBC18 Driver?

sa flag

I need to install the MS ODBC 18 Driver into Amazon Linux 2 (for EC2). The steps here cannot be completed due to network restrictions: Microsoft ODBC 18. Also the package needs to be installed while running our pipeline; the binaries need to be stored in Artifactory.

How can I obtain the binaries for MS ODBC 18 Driver without going through the above install steps? The only download I can find anywhere is an installer that provides a .msi.

Romeo Ninov avatar
in flag
Download packages from here, check dependencies, download, upload to Amazon and install: https://packages.microsoft.com/rhel/9/prod/Packages/m/
FerverSault avatar
sa flag
That link is exactly what I was looking for. If you leave it as an answer I will mark it!
Score:0
in flag

The procedure for offline install is next:

  1. From the link you provide you get the URL of repo (some walk around the web site is involved): https://packages.microsoft.com/rhel/9/prod/Packages/m/

  2. You download the package somewhere on your site.

  3. You must check the dependencies of this package (example)

    rpm -qpR msodbcsql18-18.3.1.1-1.x86_64.rpm

  4. Download dependent packages (is any)

  5. Repeat the procedure with new packages. BTW some packages are part of OS and it is not required to download them.

  6. Upload package(s) in Amazon

  7. Do local install of packages:

    yum localinstall msodbcsql18-18.3.1.1-1.x86_64.rpm otherpackage....

  8. Done :)

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.