How To Install pd-lib-builder on Debian 9

In this tutorial we learn how to install pd-lib-builder on Debian 9. pd-lib-builder is common build system for Pure Data externals

Introduction

In this tutorial we learn how to install pd-lib-builder on Debian 9.

What is pd-lib-builder

pd-lib-builder is:

Makefile based build-system for Pure Data external libraries, with the following characteristics:

  • defines build settings based on autodetected OS and architecture
  • defines rules to build Pd class- or lib executables from C or C++ sources
  • defines rules for libdir installation
  • defines convenience targets for developer and user
  • evaluates implicit dependencies for non-clean builds

There are three methods to install pd-lib-builder on Debian 9. 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-lib-builder 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-lib-builder using apt-get by running the following command:

sudo apt-get -y install pd-lib-builder

Install pd-lib-builder Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pd-lib-builder

Install pd-lib-builder 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install pd-lib-builder

How To Uninstall pd-lib-builder on Debian 9

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

sudo apt-get remove pd-lib-builder

Uninstall pd-lib-builder And Its Dependencies

To uninstall pd-lib-builder and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove pd-lib-builder

Remove pd-lib-builder Configurations and Data

To remove pd-lib-builder configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge pd-lib-builder

Remove pd-lib-builder configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge pd-lib-builder

Dependencies

pd-lib-builder have the following dependencies:

References

Summary

In this tutorial we learn how to install pd-lib-builder package on Debian 9 using different package management tools: apt, apt-get and aptitude.