Install latest/edge of trex-generator

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install trex-generator --edge

Don't have snapd? Get set up for snaps.

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

Channel Version Published

Details for trex-generator

Package name

  • trex-generator

License

  • Apache-2.0

Last updated

  • 29 October 2026 - latest/edge

Report a Snap Store violation

Share this snap

Generate an embeddable card to be shared on external websites.

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

Revision Channel Version Published Build Commit Download SBOM

The build and commit information is derived from build infrastructure records.


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.