Installation

This guide covers installing the LinuxGuard agent on your Linux systems. The installation process varies slightly depending on your Linux distribution.

Note: Installing in a container? See the Container Installation Guide for container-specific instructions.

Step 1: Add the LinuxGuard Repository

First, you need to add the LinuxGuard package repository to your system. This allows you to easily install and update the agent using your system's package manager.

Debian-based Systems

For Debian, Ubuntu, and other Debian-based distributions:

curl -fsSL https://packages.linuxguard.io/apt/add-linuxguard-repo.sh | sudo bash

RedHat-based Systems

For RHEL, CentOS, Fedora, and other RedHat/YUM-based distributions:

curl -fsSL https://packages.linuxguard.io/dnf/add-linuxguard-yum-repo.sh | sudo bash

Alpine-based Systems

For Alpine Linux:

curl -fsSL https://packages.linuxguard.io/apk/add-linuxguard-apk-repo.sh | sudo bash

These commands will:

  • Add the LinuxGuard package repository to your system

  • Configure the repository signing keys

  • Enable automatic updates from the repository

Step 2: Install the LinuxGuard Agent

Once the repository has been added, install the agent using your system's standard package manager:

Debian-based Systems

sudo apt update
sudo apt install linuxguard-agent

RedHat-based Systems

sudo dnf install linuxguard-agent

Or for older systems using YUM:

sudo yum install linuxguard-agent

Alpine-based Systems

sudo apk add linuxguard-agent

Verification

After installation, the LinuxGuard agent service should be installed but not yet running (it needs to be configured first). You can verify the installation by checking if the agent binary exists:

which linuxguard-agent

You can also verify that the agent user was created:

id linuxguard

Security

The LinuxGuard agent is installed with security as a top priority. The installer creates a dedicated linuxguard user account, and the agent runs without root privileges with read-only access to system components. For detailed information about our security architecture, see the Security Architecture page.

Uninstallation

If you need to remove the LinuxGuard agent, we provide a complete cleanup process that removes all agent files, configuration, and user accounts. See the Uninstallation Guide for instructions.


Next Step: Configuration →

Last updated

Was this helpful?