It doesn't seems to be possible:
root@stonehaven:~# yum install wazuh-api
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package wazuh-api.x86_64 0:3.2.1-1 will be installed
--> Processing Dependency: nodejs >= 4.6 for package: wazuh-api-3.2.1-1.x86_64
--> Finished Dependency Resolution
Error: Package: wazuh-api-3.2.1-1.x86_64 (wazuh)
Requires: nodejs >= 4.6
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************
Error: Package: wazuh-api-3.2.1-1.x86_64 (wazuh)
Requires: nodejs >= 4.6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
NOdeJS is installed:
rh-nodejs8-nodejs-8.9.4-2.el7.x86_64
rh-nodejs8-runtime-3.0-3.el7.x86_64
rh-nodejs8-npm-5.6.0-8.9.4.2.el7.x86_64
On the other side, trying to install from source it doesn't works also:
### Wazuh API ###
cat: ./package.json: No such file or directory
Installing Wazuh API from current directory.
Installing API ['/var/ossec/api'].
Error executing command: 'cp --parents -r app.js configuration controllers examples helpers models package.json scripts /var/ossec/api'.
What does it mean this error?
Thanks.