stxxl_tool command not found

In this troubleshooting guide we learn how to fix stxxl_tool command not found error message

Introduction

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

stxxl_tool: command not found

or when using sudo you get the following error message

sudo: stxxl_tool: command not found

Solutions to stxxl_tool: command not found

How To Fix stxxl_tool: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu stxxl_tool is provided by libstxxl1-bin package.

libstxxl1-bin is:

STXXL provides an STL replacement using an abstraction layer to storage devices to allow for the optimal layout of data structures. This allows for multi-terabyte datasets to be held and manipulated in standard C++ data structures, whilst abstracting the complexity of managing this behaviour efficiently. STXXL utilises multi-disk I/O to speed up I/O bound calculations. STXXL has been developed at the University of Karlsruhe.

A benchmarking tool and STXXL on-disk file administration utility

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

sudo apt-get -y install libstxxl1-bin

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

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

sudo apt -y install libstxxl1-bin

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

sudo aptitude install libstxxl1-bin

Summary

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