How To Install pd-xsample on Ubuntu 18.04

In this tutorial we learn how to install pd-xsample on Ubuntu 18.04. pd-xsample is extended sample objects for Pure Data

Introduction

In this tutorial we learn how to install pd-xsample on Ubuntu 18.04.

What is pd-xsample

pd-xsample is:

This is a collection of efficient buffer-based sampling objects for Pure Data (Pd) and Max.

  • [xgroove~]: variable-speed interpolating player
  • [xplay~]: the index-driven sample player
  • [xrecord~]: sample-accurate recorder

There are three methods to install pd-xsample 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 pd-xsample Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install pd-xsample

Install pd-xsample Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pd-xsample

Install pd-xsample 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 pd-xsample using aptitude by running the following command:

sudo aptitude -y install pd-xsample

How To Uninstall pd-xsample on Ubuntu 18.04

To uninstall only the pd-xsample package we can use the following command:

sudo apt-get remove pd-xsample

Uninstall pd-xsample And Its Dependencies

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

sudo apt-get -y autoremove pd-xsample

Remove pd-xsample Configurations and Data

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

sudo apt-get -y purge pd-xsample

Remove pd-xsample configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pd-xsample

References

Summary

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