> ## Documentation Index
> Fetch the complete documentation index at: https://docs.odigos.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Install the Odigos VM Agent on your Linux host

<Info> The Odigos VM Agent is available as part of Odigos Pro. For access and licensing details,
[contact us](https://odigos.io/).</Info>

## Configuring Package Sources (apt, dnf, rpm)

To install the Odigos VM Agent, configure your package manager or obtain the RPM files.

<Tabs>
  <Tab title="DNF">
    Using `dnf` (RHEL, Fedora, Rocky Linux):

    ```shell theme={null}
    sudo rm /etc/yum.repos.d/odigos.repo
    sudo tee /etc/yum.repos.d/odigos.repo > /dev/null <<'EOF'
    [odigos]
    name=Odigos Packages
    baseurl=https://yum.odigos.io/projects/odigos-cloud/odigos-rpm
    enabled=1
    gpgcheck=0
    repo_gpgcheck=0
    EOF

    sudo dnf makecache
    ```
  </Tab>

  <Tab title="APT">
    Using `apt` (Debian, Ubuntu):

    ```shell theme={null}
    sudo mkdir -p /etc/apt/keyrings/

    wget -q -O - https://apt.odigos.io/doc/repo-signing-key.gpg \
      | gpg --dearmor \
      | sudo tee /etc/apt/keyrings/odigos.gpg > /dev/null

    echo "deb [signed-by=/etc/apt/keyrings/odigos.gpg] https://apt.odigos.io/projects/odigos-cloud odigos-apt main" \
      | sudo tee /etc/apt/sources.list.d/odigos.list

    sudo apt update
    ```
  </Tab>

  <Tab title="RPM">
    If you use a package manager other than `dnf` or `apt`, or prefer to install via RPM files, you can
    install the VM Agent using RPM files. There are two files you will need to obtain:

    * odigos-otelcol-\<otelcol-version>.rpm
    * odigos-\<agent-version>.rpm

    <Note>Obtain the rpm files from your Odigos support team</Note>
  </Tab>
</Tabs>

## Installation

<Tabs>
  <Tab title="DNF">
    Using `dnf` (RHEL, Fedora, Rocky Linux):

    ```shell theme={null}
    sudo dnf install odigos
    ```
  </Tab>

  <Tab title="APT">
    Using `apt` (Debian, Ubuntu):

    ```shell theme={null}
    sudo apt install odigos
    ```
  </Tab>

  <Tab title="RPM">
    If you use a package manager other than `dnf` or `apt`, run the following to install the agent:

    <Note>Replace \<otelcol-version> and \<agent-version> with the versions you downloaded.</Note>

    ```shell theme={null}
    rpm -ivh odigos-otelcol-<otelcol-version>.rpm odigos-<agent-version>.rpm
    ```
  </Tab>
</Tabs>

## Enabling the Odigos OpenTelemetry Collector and VM Agent service

Once the installation is complete, enable the VM Agent service to start automatically on system startup:

```shell theme={null}
sudo systemctl enable --now odigos-otelcol.service
sudo systemctl enable --now odigos-vmagent.service
```

If you run Odigos Central, follow [Connecting VM Agent](/central/adding-connections/vmagent) to link this host to Central.
