Steps to manually install/uninstall on CentOS/RHEL

Steps to manually install/uninstall on CentOS/RHEL

Overview


This document outlines the procedure to install or uninstall the Uptycs osquery agent on a CentOS/RHEL system that uses systemd. You may choose to use either rpm or yum based on your environment standards.



Procedure


Installation with rpm

sudo rpm -i osquery-<version>-Uptycs.rpm


Installation with yum

sudo yum localinstall osquery-<version>-Uptycs.rpm -y


Uninstall with rpm

sudo systemctl stop osqueryd

sudo rpm -e osquery

# Cleanup osquery directories

sudo rm -rf /etc/osquery

sudo rm -rf /var/osquery

sudo rm -rf /var/log/osquery


Uninstall with yum

sudo systemctl stop osqueryd

sudo yum remove osquery -y

# Cleanup osquery directories

sudo rm -rf /etc/osquery

sudo rm -rf /var/osquery

sudo rm -rf /var/log/osquery

    • Related Articles

    • Steps to manually install/uninstall Osquery on CentOS Linux

      Overview This document outlines the procedure on how to install/uninstall osquery on CentOS-based Linux. Procedure Installation Download the installer. Copy the Ubuntu installer (osquery-<version>-rpm) to the endpoint (to a directory such as /tmp) cp ...
    • Steps to manually install / uninstall osquery on an Ubuntu system

      Overview This document outlines the procedure on how to install / uninstall osquery on an Ubuntu system Procedure Installation sudo dpkg -i osquery-<version>-Uptycs.deb Uninstall sudo service  osqueryd stop sudo apt-get remove osquery # Cleanup ...
    • Steps to manually install/uninstall Osquery on Ubuntu based Linux

      Overview This document outlines the procedure on how to install/uninstall osquery on Ubuntu-based Linux. Procedure Installation Download the installer. Copy the Ubuntu installer (osquery-<version>-deb) to the endpoint (to a directory such as /tmp) cp ...
    • Steps to manual install/uninstall osquery on Windows a system

      Overview This document outlines the procedure on how to install/uninstall osquery on a Windows Procedure Installation Right-click (or double-click) the pkg file and choose "Install" OSquery will self-install. Uninstall Go to the "Control Panel" ...
    • Install Uptycs agent with Chef

      Overview This document outlines the steps / procedure to install Uptycs osquery agent using Chef Pre-requisite(s) yum repo containing Uptycs - Creating a custom Yum Repo that contains Uptycs Details Following chef recipe can be used to install the ...