Oracle Linux 8: How To Install ASMLib (Doc ID 2720215.1) – if you have an Oracle account with support:
https://support.oracle.com/knowledge/Oracle%20Linux%20and%20Virtualization/2720215_1.html
If you don’t have a support account with Oracle, basically, this is what this Doc ID says:
cd /tmp wget https://download.oracle.com/otn_software/asmlib/oracleasmlib-2.0.17-1.el8.x86_64.rpm wget https://public-yum.oracle.com/repo/OracleLinux/OL8/addons/x86_64/getPackage/oracleasm-support-2.1.12-1.el8.x86_64.rpm yum localinstall ./oracleasm-support-2.1.12-1.el8.x86_64.rpm ./oracleasmlib-2.0.17-1.el8.x86_64.rpm
This has been tested successfully on Oracle Linux 8