Steps to manually install/uninstall Osquery on Ubuntu based Linux

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


I
nstallation

  • Download the installer.
  • Copy the Ubuntu installer (osquery-<version>-deb) to the endpoint (to a directory such as /tmp)
    cp $HOME/Downloads/ /tmp/
  • Run the installer
    sudo apt-get install /tmp/(osquery-<version>-deb)
  • Check the status of osquery and verify the service has started
  • To start/stop or check the status of the osqueryd agent, use the following commands:
    - sudo service osqueryd status
    - sudo service osqueryd stop
    - sudo service osqueryd start
    - sudo service osqueryd restart


Uninstall

  • run the commands below to list all install packages if needed.
    sudo apt list --installed
  • Stop the service:
    - sudo service osqueryd stop
  • uninstall osquery:
    sudo apt remove 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 a Mac

      Overview This document outlines the procedure on how to install / uninstall osquery on a Mac Procedure Installation Right-click (or control-click) the pkg file and choose "Open" Click the "Open" button at the next dialog Follow the steps in installer ...
    • 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 ...
    • 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" ...