testu01-tcode command not found

In this troubleshooting guide we learn how to fix testu01-tcode command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

testu01-tcode: command not found

or when using sudo you get the following error message

sudo: testu01-tcode: command not found

Solutions to testu01-tcode: command not found

How To Fix testu01-tcode: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu testu01-tcode is provided by testu01-bin package.

testu01-bin is:

TestU01 is a software library, implemented in the ANSI C language, and offering a collection of utilities for the empirical statistical testing of uniform random number generators.

TestU01 implements several types of random number generators in generic form, as well as many specific generators proposed in the literature or found in widely-used software. It provides general implementations of the classical statistical tests for random number generators, as well as several others proposed in the literature, and some original ones. These tests can be applied to the generators predefined in the library and to user-defined generators. Specific tests suites for either sequences of uniform random numbers in [0,1] or bit sequences are also provided, as well as basic tools for plotting vectors of points produced by generators and more advanced tools for more involved tests and usage.

This package provides command line utilities.

To fix this problem, we can install more using the command below.

sudo apt-get -y install testu01-bin

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install testu01-bin.

sudo apt -y install testu01-bin

Or if you have aptitude installed you can use the following command.

sudo aptitude install testu01-bin

Summary

In this tutorial we learn how to fix testu01-tcode command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.