Alma10: MS ODBC Driver for SQL Server (msodbcsql18)

Hi! How do we install MS ODBC Driver for SQL Server in AlmaLinux 10?
Can we use this https://packages.microsoft.com/rhel/9/prod/Packages/m/msodbcsql18-18.5.1.1-1.x86_64.rpm

I need to connect to MSSQL server using PHP. AlmaLinux 9 has these working but im now updating to 10.

I’v already installed ‘pecl install pdo_sqlsrv’ and sqlsrv.

Oh, Mod_security on AlmaLinux10 - #2 by jlehtone

EPEL 10.0 does not have mod_security, but EPEL 10.1 does.
One could wait until AlmaLinux 10.1 is released (later this year),
or submit a request to EPEL to build the package also for the 10.0 targets.

Looks like it’s better to still stick with AlmaLinux 9 in critical production and wait for repos to stabilize…

As rule one should use only packages built for el10 in el10.

However, some third parties (e.g. Microsoft, Zoom) offer packages built for older distro with claim that they “work” for N+. It really depends on what features (versions, libraries, packages) the application/package requires.