How To Install petri-foo on Ubuntu 18.04

In this tutorial we learn how to install petri-foo on Ubuntu 18.04. petri-foo is MIDI controllable audio sampler - successor of specimen

Introduction

In this tutorial we learn how to install petri-foo on Ubuntu 18.04.

What is petri-foo

petri-foo is:

A simple but very useful midi controlled sampler for ALSA/JACK featuring:

  • 64 notes of polyphony, spread across up to 64 patches.
  • fast, high quality pitch scaling, linear ADSR volume envelopes.
  • low pass filter with resonance; a variety of direction-independent.
  • playback modes and zoomable sample editor for loop and play points.

Petri-Foo is a fork of the Specimen Sampler project.

There are three methods to install petri-foo on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install petri-foo Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install petri-foo using apt-get by running the following command:

sudo apt-get -y install petri-foo

Install petri-foo Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install petri-foo using apt by running the following command:

sudo apt -y install petri-foo

Install petri-foo Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install petri-foo using aptitude by running the following command:

sudo aptitude -y install petri-foo

How To Uninstall petri-foo on Ubuntu 18.04

To uninstall only the petri-foo package we can use the following command:

sudo apt-get remove petri-foo

Uninstall petri-foo And Its Dependencies

To uninstall petri-foo and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove petri-foo

Remove petri-foo Configurations and Data

To remove petri-foo configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge petri-foo

Remove petri-foo configuration, data, and all of its dependencies

We can use the following command to remove petri-foo configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge petri-foo

References

Summary

In this tutorial we learn how to install petri-foo package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.