2. Installation

2.1. Installation: pip

tcconfig can be installed from PyPI via pip (Python package manager) command.

sudo pip install tcconfig

2.2. Installation: dpkg (Debian/Ubuntu)

curl -sSL https://raw.githubusercontent.com/thombashi/tcconfig/master/scripts/installer.sh | sudo bash

3. Dependencies

Python 3.5+

3.1. Linux packages

  • mandatory: required for tc command:
    • Ubuntu/Debian: iproute2

    • Fedora/RHEL: iproute-tc

  • optional: required to when you use --iptables option:
    • iptables

3.2. Linux kernel module

  • sch_netem

3.3. Python packages

Dependency python packages are automatically installed during tcconfig installation via pip.

3.3.1. Optional Python packages

3.3.2. Test dependencies