2. Installation

2.2. Install in Debian/Ubuntu from a deb package

  1. wget https://github.com/thombashi/tcconfig/releases/download/<version>/tcconfig_<version>_amd64.deb
  2. dpkg -iv tcconfig_<version>_amd64.deb
$ wget https://github.com/thombashi/tcconfig/releases/download/v0.17.1/tcconfig_0.17.1_amd64.deb
$ sudo dpkg -i tcconfig_0.17.1_amd64.deb

2.3. Installing from files

The following package includes tcconfig and dependency packages. This package is for environments which cannot access to PyPI directly.

How to install:

  1. Navigate to https://github.com/thombashi/tcconfig/releases/
  2. Download the latest version of tcconfig_wheel.tar.gz
  3. Copy tcconfig_wheel.tar.gz to installation target
  4. tar xvf tcconfig_wheel.tar.gz
  5. cd tcconfig_wheel/
  6. ./install.sh

3. Dependencies

Python 2.7+ or 3.4+

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

  • netifaces
    • Suppress excessive error messages if this package installed

3.3.2. Test dependencies