---
title: "How to Install Retrace With Yum on Linux"
slug: "linux-installation-redhat-centos"
description: "Get instructions on how to install the Retrace Linux Agent on RedHat and CentOS based Linux systems. Install by using the yum package manager directly."
updated: 2019-01-21T20:54:49Z
published: 2019-01-21T20:54:49Z
---

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

# RedHat / CentOS Installation

Instructions on how to install the Retrace Linux Agent on RedHat and CentOS based Linux systems. You can install by using the **yum** package manager directly.

> The following commands are intended to be ran with root permissions.

## Installing with Yum

1. **Add Stackify’s yum repository.**

```
wget -qO - https://download.stackify.com/rpm/stackify.repo | sudo tee /etc/yum.repos.d/stackify.repo
```

1. **Install Stackify Linux Agent.**

```
sudo yum install stackify-agent
```

1. **Configure Agent with your Retrace activation key.** You can find your **activation key**  in your Retrace account [**Settings** > **Account** > **Activation Key**](https://s1.stackify.com/Manage/AccountInfo).

![](https://support.stackify.com/wp-content/uploads/2017/10/LinuxAgent_Overview.png)

```
sudo stackify-agent-config --key "YOUR_ACTIVATION_KEY" --environment "Production" --devicealias [aliasname]
```

1. **Restart Agent.**

```
sudo service stackify-agent start
```

## Uninstalling with Yum

```
sudo yum remove stackify-agent
```

## Upgrade

```
sudo yum update stackify-agent
sudo service stackify-agent restart
```
