Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

How to install OCS agent in a CentOS server?

Hi guys!

When I download the ocsinventory-agent...rpm, the system says that have some dependecies. Then I download the first one, perl-Ocsinventory-Agent, then ask for perl(XML::Simple), and then  perl-5.10.1-144.el6.x86_64.rpm.

All of these archieves were downloaded but when I try to install the perl-5.10.1-144.el6.x86_64.rpm, the same that perl(:MODULE_COMPAT_5.10.1), it says:

 libgdbm.so.2()(64bit) are requered by perl-4:5.10.1-144.el6.x86_64
        perl-libs = 4:5.10.1-144.el6 are requered by perl-4:5.10.1-144.el6.x86_64
        perl < 4:5.16.1-234 conflits with (installed) perl-podlators-2.5.1-3.el7.noarch

Somebody have other manner to install the ocsagent in a CentOS?

in OCS Inventory NG agent for Unix by (490 points)
edited by

1 Answer

0 votes

Install missing repository:

wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
wget https://rpm.ocsinventory-ng.org/ocsinventory-release-latest.el7.ocs.noarch.rpm
yum install ocsinventory-release-latest.el7.ocs.noarch.rpm epel-release-latest-7.noarch.rpm

and then :

yum install ocsinventory-agent

by (22k points)
 
Powered by Question2Answer
...