2

Our current AV install package on Linux(CentOS) servers is in the form of tar.gz and the installation is initiated by execution of the default install.sh script. But since install is not via RPM or YUM, package is not added to the RPM DB and thus, is not picked up in the list of installed software by either our VA scanner or the Asset management software.

While still keeping installation in the same format, what are our options? Is there a way to make sure this gets added to the install packages list on the servers? I checked the RPM DB files under /var/lib/rpm which have " Berkeley DB" format, so wasn't sure how safe is to edit them directly.

We'll be going with RPM install eventually, but for the time being, was wondering if there is any way out. Any ideas?

Many Thanks,

~ Abhi

  • 1
    Instead of messing up with your system, and potentially corrupting the rpm database, why not building an rpm, and installing from it? – Rui F Ribeiro Apr 27 '17 at 13:02
2

Not really, you are better off packaging the installer in an rpm and installing it through the package manager. Messing with rpmdb is not a good idea

BONUS: If you don't want to meddle with rpmbuild, have a look at FPM:

https://github.com/jordansissel/fpm

It is a powerful tool that can make or convert packages on the fly

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.