How To Install pd-boids on Ubuntu 20.04

In this tutorial we learn how to install pd-boids on Ubuntu 20.04. pd-boids is Pd library for the boids flocking simulator algorithm

Introduction

In this tutorial we learn how to install pd-boids on Ubuntu 20.04.

What is pd-boids

pd-boids is:

Boids is a bird flight and animal flock simulator. It is based on the same algorithm which was used in Jurassic Park for the herding dinosaurs. Boids takes an integer argument which is the number of boids. Each time Boids receives a bang, it calculates and outputs the new positions of the boids. The output consists of thew coordiantes for each boid, the number and type depending on the mode.

The flight parameters can be changed with messages. Use the ‘dump’ message to output a list of the current parameter settings.

For more information about the Boids algorithm, see Craig Reynolds' Web site at http://www.red3d.com/cwr/ Task: ubuntustudio-audio

There are three methods to install pd-boids on Ubuntu 20.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-boids 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-boids using apt-get by running the following command:

sudo apt-get -y install pd-boids

Install pd-boids Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pd-boids

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

sudo aptitude -y install pd-boids

How To Uninstall pd-boids on Ubuntu 20.04

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

sudo apt-get remove pd-boids

Uninstall pd-boids And Its Dependencies

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

sudo apt-get -y autoremove pd-boids

Remove pd-boids Configurations and Data

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

sudo apt-get -y purge pd-boids

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

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

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

References

Summary

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