How To Install puredata on Ubuntu 22.04

In this tutorial we learn how to install puredata on Ubuntu 22.04. puredata is realtime computer music and graphics system

Introduction

In this tutorial we learn how to install puredata on Ubuntu 22.04.

What is puredata

puredata is:

Pure Data (also known as Pd) is a real-time graphical programming environment for audio and graphics processing. Pd’s audio functions are built-in; graphical computations require separate packages such as gem (Graphics Environment for Multimedia) or pd-pdp (Pd Packet).

This is a metapackage that depends on all components of the core of Pd.

There are three methods to install puredata on Ubuntu 22.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 puredata Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install puredata

Install puredata Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install puredata using apt by running the following command:

sudo apt -y install puredata

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

sudo aptitude -y install puredata

How To Uninstall puredata on Ubuntu 22.04

To uninstall only the puredata package we can use the following command:

sudo apt-get remove puredata

Uninstall puredata And Its Dependencies

To uninstall puredata and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove puredata

Remove puredata Configurations and Data

To remove puredata configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge puredata

Remove puredata configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge puredata

References

Summary

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