Access AS400 database from LotusScript agent in Centos server

We are planning to migrate the server from Windows server to Centos. I made a application that access AS400 database with LSXODBC.
Questions: Do I just need to install and configure ODBC in Centos? What alternatives do I have to query a AS400 database from LotusScript?

Thank you

Yes ODBC is also working on Linux

Using LSXODBC, you will need to get an ODBC driver from DB2 for Centos and create a DSN wiht the same name.

The other method to connect to DB2 would be using LSXLC instead but this will require a code change. But with LSXLC you can connect via ODBC or via a native DB2 client installed on the same machine as Domino.