2. Installation

2.1. Installing from PyPI

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

sudo pip install tcconfig

2.2. 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

  • iproute/iproute2/iproute-tc (mandatory: required for tc command)
  • iptables (optional: required to when you use --iptables option)

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

  • netifaces
    • Suppress excessive error messages if this package installed

3.3.2. Test dependencies