Debian / Ubuntu

This guide covers repository-based installation on Debian, Ubuntu, and derivatives (such as Linux Mint).

Prerequisites

  • Linux kernel 4.18+ (for eBPF support)

  • Root or sudo access

  • Outbound HTTPS access to packages.linuxguard.io

Note: See Prerequisites for full system requirements.

Repository Setup

The recommended installation method uses the official LinuxGuard APT repository. This ensures you receive automatic updates and can easily manage the agent through your package manager.

Step 1: Install Prerequisites

Install required packages for repository configuration:

sudo apt install curl ca-certificates gnupg

Step 2: Import GPG Key

Create the keyrings directory and import the LinuxGuard signing key:

sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://packages.linuxguard.io/gpg/linuxguard.asc | \
  sudo gpg --dearmor -o /etc/apt/keyrings/linuxguard.gpg

Step 3: Add Repository

Add the LinuxGuard repository to your system:

Step 4: Install Agent

Update the package index and install the agent:

The agent service will be installed but not started until enrollment.

Direct Download

If repository setup is not possible, you can download and install the package directly:

Verification

After installation, verify the agent is correctly installed:

Check Agent Binary

Confirm the agent binary is in your PATH:

Expected output:

Verify Agent User

Confirm the agent user and group were created:

Expected output:

Note: The UID/GID numbers may vary depending on your system.

Check Service Status

Verify the agent service is installed:

Expected output:

The service is inactive until you complete enrollment.

Troubleshooting

Repository Not Found

If apt update fails to find the LinuxGuard repository, verify the repository file exists:

The file should contain the repository configuration with the correct architecture.

GPG Key Errors

If you encounter GPG signature verification errors, verify the key was imported correctly:

If the file is missing, repeat Step 2 of the repository setup.

Package Conflicts

If installation fails due to conflicting packages, check for unofficial or third-party LinuxGuard packages:

Remove any unofficial packages before installing from the official repository.

Note: See the Troubleshooting Guide for additional help.


Next Step: Configuration →

Related: Installation Overview | Prerequisites | Troubleshooting

Last updated

Was this helpful?