stl2gts command not found

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

Introduction

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

stl2gts: command not found

or when using sudo you get the following error message

sudo: stl2gts: command not found

Solutions to stl2gts: command not found

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

In Ubuntu stl2gts is provided by libgts-bin package.

libgts-bin is:

The GTS Library is intended to provide a set of useful functions to deal with 3D surfaces meshed with interconnected triangles.

This package contains some utility binaries.

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

sudo apt-get -y install libgts-bin

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

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

sudo apt -y install libgts-bin

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

sudo aptitude install libgts-bin

Summary

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