

# ![redhat](../res/redhat_med.png) Red Hat/CentOS System Prerequisites [2.124.0 or below]

## Versions

Tested on Red Hat 7.2.  Not domain joined.

64-bit supported.

## Dependency Packages

```bash
sudo yum -y install libunwind.x86_64 icu
```
If you're still having issues:
[Full List Needed](https://github.com/dotnet/core/blob/master/Documentation/prereqs.md)

## Git

If you use git, git >= 2.9.0 is a pre-requisite for Red Hat/CentOS agents.

[Based on Install Latest Git on Red Hat/CentOS](http://tecadmin.net/install-git-2-x-on-centos-rhel-and-fedora/#)

```bash
$ yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel
$ yum install gcc perl-ExtUtils-MakeMaker

$ cd /usr/src
$ wget https://www.kernel.org/pub/software/scm/git/git-2.9.2.tar.gz
$ tar xzf git-2.9.2.tar.gz

$ cd git-2.9.2
$ make prefix=/usr/local/git all
$ make prefix=/usr/local/git install
```

In /etc/bashrc
```bash
export PATH=$PATH:/usr/local/git/bin
```

## Optionally Java if TfsVc

The agent distributes [Team Explorer Everywhere (TEE)](https://www.visualstudio.com/products/team-explorer-everywhere-vs.aspx).

But, if you are using TfsVc, install Oracle Java 1.8+ as TEE uses Java.

## RHEL Universal Base Images (UBI) packages

```bash
yum install -y git unzip libicu
```

UBI 8 will require `glibc-langpack-en` to be installed:
```bash
yum -y install glibc-langpack-en
```
