🎩Red Hat, CentOS and Fedora Systems

OSQuery Installation Guide for Red Hat, CentOS and Fedora Systems

As 'root', run the following commands to install OSQuery on a Red Hat, CentOS and Fedora based System.

curl -L https://pkg.osquery.io/rpm/GPG | tee /etc/pki/rpm-gpg/RPM-GPG-KEY-osquery
yum-config-manager --add-repo https://pkg.osquery.io/rpm/osquery-s3-rpm.repo
yum-config-manager --enable osquery-s3-rpm
yum install osquery

Test to make sure it was installed correctly by running OSQuery CLI on the local machine. The osqueryi command will evoke an OSQuery interactive shell that queries can be run in.

OSQuery is now successfully installed on this system.

Last updated