For openSUSE Leap 15.4 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:axsch:support:ocs/openSUSE_Leap_15.4/home:axsch:support:ocs.repo
zypper refresh
zypper install ocsinventory-agent
For openSUSE Leap 15.3 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:axsch:support:ocs/openSUSE_Leap_15.3/home:axsch:support:ocs.repo
zypper refresh
zypper install ocsinventory-agent
For SUSE SLE 15 SP4 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:axsch:support:ocs/SUSE_SLE_15_SP4/home:axsch:support:ocs.repo
zypper refresh
zypper install ocsinventory-agent
For SUSE SLE 15 SP3 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:axsch:support:ocs/SUSE_SLE_15_SP3/home:axsch:support:ocs.repo
zypper refresh
zypper install ocsinventory-agent
For SUSE SLE 15 SP2 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:axsch:support:ocs/SUSE_SLE_15_SP2/home:axsch:support:ocs.repo
zypper refresh
zypper install ocsinventory-agent
For SUSE SLE 15 SP1 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:axsch:support:ocs/SUSE_SLE_15_SP1/home:axsch:support:ocs.repo
zypper refresh
zypper install ocsinventory-agent
For SUSE SLE 15 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:axsch:support:ocs/SUSE_SLE_15/home:axsch:support:ocs.repo
zypper refresh
zypper install ocsinventory-agent