trivial_sampler command not found

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

Introduction

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

trivial_sampler: command not found

or when using sudo you get the following error message

sudo: trivial_sampler: command not found

Solutions to trivial_sampler: command not found

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

In Ubuntu trivial_sampler is provided by dssi-example-plugins package.

dssi-example-plugins is:

DSSI is an API for audio plugins, with particular application for software synthesis plugins with native user interfaces.

DSSI is an open specification developed for use in Linux audio applications, although it is portable to other platforms. It may be thought of as LADSPA-for-instruments, or something comparable to VSTi.

This is a set containing three example DSSI plugins.

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

sudo apt-get -y install dssi-example-plugins

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

You can also use apt command to install dssi-example-plugins.

sudo apt -y install dssi-example-plugins

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

sudo aptitude install dssi-example-plugins

Summary

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