How To Install pd-moonlib on Debian 11

In this tutorial we learn how to install pd-moonlib on Debian 11. pd-moonlib is library of Pd objects related to GUI control

Introduction

In this tutorial we learn how to install pd-moonlib on Debian 11.

What is pd-moonlib

pd-moonlib is:

Moonlib includes three sub-sections: nilib, which is a kind of wrapper between Pd and Gtk, sublib, which is a collection of gui control objects, and other, which are miscellaneous objects:

  • tabenv: like env~, an enveloppe follower, but computing on a table, so possibly much speeder than real-time env~’s computation
  • tabsort, tabsort2: returns the indices of the sorted table, tabsort2 is bidimentionnal
  • gamme: one octave of a piano keyboard used to filter/choose notes in a selected scale
  • absolutepath/relativepath: to use files (sounds, texts, presets, images, programs…) nested in the patch’s directory (and in subdirs)
  • sarray and slist: to creates shared dynamic arrays or lists with symbols
  • sfread2~ and readsfv~: to pitch the direct-from-disk reading of sound files
  • dinlet~: an inlet~ with a default value (when nothing is connected to it)
  • mknob: a round knob ala iemgui vslider (with its “properties” window)
  • dispatch: creates one bus name for many buttons’ buses: from the N pairs (slider1-snd/slider1-rcv) … (sliderN-snd/sliderN-rcv), creates only one pair of buses named (slider-snd/slider-rcv), in which datas are prepended by the number of the “sub-bus”
  • joystik: an improvement of Joseph A. Sarlo’s joystick
  • image: an improvement of Guenter Geiger’s one. Same name, but it’s compatible. Here you can share images through different objects, preload a list of images, and animate this list.

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

sudo apt-get -y install pd-moonlib

Install pd-moonlib Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pd-moonlib

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

sudo aptitude -y install pd-moonlib

How To Uninstall pd-moonlib on Debian 11

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

sudo apt-get remove pd-moonlib

Uninstall pd-moonlib And Its Dependencies

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

sudo apt-get -y autoremove pd-moonlib

Remove pd-moonlib Configurations and Data

To remove pd-moonlib configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge pd-moonlib

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

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

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

Dependencies

pd-moonlib have the following dependencies:

References

Summary

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