---
title: Install trex-generator on Linux | Snap Store
description: Get the latest version of trex-generator for Linux - Cisco TRex realistic
  traffic generator
url: https://snapcraft.io/trex-generator
---

# trex-generator

[Iurii Kondrakov (deezzir)](https://snapcraft.io/publisher/deezzir "View all snaps from Iurii Kondrakov (deezzir)")

* [Iurii Kondrakov (deezzir)](https://snapcraft.io/publisher/deezzir "View all snaps from Iurii Kondrakov (deezzir)")
* [Server and Cloud](https://snapcraft.io/search?categories=server-and-cloud)
* [Utilities](https://snapcraft.io/search?categories=utilities)

latest/edge 3.08

Install latest/edge of trex-generator

---

**Install using the command line**

```
sudo snap install trex-generator --edge
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

trex-generator is only available on the unstable edge channel. It could break and change often.

---

### Package name

* trex-generator

---

### License

* Apache-2.0

---

### Last updated

* 29 October 2026 - latest/edge

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/trex-generator#report-snap-modal)

---

* [Description](https://snapcraft.io/trex-generator#tab-description)
* [Security](https://snapcraft.io/trex-generator#tab-security)

#### Cisco TRex realistic traffic generator

TRex is an open source, low cost, stateful and stateless traffic generator
fuelled by DPDK. This snap packages the TRex server, console and Python
automation client from the upstream trex-core source.

The server runs in af\_packet mode on kernel interfaces, without hugepages
or NIC driver binding. DPDK PCI mode is not supported under strict
confinement.

**Setup**

```
 sudo snap connect trex-generator:network-control
 sudo snap connect trex-generator:hardware-observe
 sudo snap connect trex-generator:process-control
 sudo snap connect trex-generator:system-observe
```

**Configuration**

Configuration files, scripts and their output live in
/var/snap/trex-generator/common. Select the server configuration with
`sudo snap set trex-generator config=<path relative to that directory>`
(default `trex_cfg.yaml`), or pass `--cfg <absolute path>`.

**Commands**

* `trex-generator.t-rex-64`: TRex server
* `trex-generator.console`: interactive console
* `trex-generator.python`: Python with the TRex automation client

Upstream: <https://github.com/cisco-system-traffic-generator/trex-core>

---

## Install trex-generator on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/trex-generator/arch)

[### CentOS](https://snapcraft.io/install/trex-generator/centos)

[### Debian](https://snapcraft.io/install/trex-generator/debian)

[### elementary OS](https://snapcraft.io/install/trex-generator/elementary)

[### Fedora](https://snapcraft.io/install/trex-generator/fedora)

[### KDE Neon](https://snapcraft.io/install/trex-generator/kde-neon)

[### Kubuntu](https://snapcraft.io/install/trex-generator/kubuntu)

[### Manjaro](https://snapcraft.io/install/trex-generator/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/trex-generator/pop)

[### openSUSE](https://snapcraft.io/install/trex-generator/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/trex-generator/rhel)

[### Ubuntu](https://snapcraft.io/install/trex-generator/ubuntu)
