https://www.ocsinventory-ng.org/en/rpm-repository-is-available-for-rhelcentosfedora/
Follow this guide and then do : yum install ocsinventory
Follow this guide and then do : yum install ocsinventory