How To Install pd-arraysize on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
3 minutes • 427 words
Introduction
In this tutorial we learn how to install pd-arraysize on Ubuntu.
What is pd-arraysize
pd-arraysize is:
This provides a simple object for Pure Data that reports the size of an array by name. For historical reasons, it is packaged as a standalone object. It is a very simple object, but has always been distributed by itself. It is packaged alone in keeping with the one-library-per-package style of all other pd libraries.
This is a tiny package that might otherwise be lumped into a ‘goodies’ package, but it is the only tiny one like this, so a ‘goodies’ package would end up being just this single object anyway.
Since Pd>=0.47, this object can be replaced with the built-in [array size].
There are three methods to install pd-arraysize on Ubuntu. 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-arraysize 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-arraysize using apt-get by running the following command:
sudo apt-get -y install pd-arraysize
Install pd-arraysize Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install pd-arraysize using apt by running the following command:
sudo apt -y install pd-arraysize
Install pd-arraysize 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-arraysize using aptitude by running the following command:
sudo aptitude -y install pd-arraysize
How To Uninstall pd-arraysize on Ubuntu
To uninstall only the pd-arraysize package we can use the following command:
sudo apt-get remove pd-arraysize
Uninstall pd-arraysize And Its Dependencies
To uninstall pd-arraysize and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove pd-arraysize
Remove pd-arraysize Configurations and Data
To remove pd-arraysize configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge pd-arraysize
Remove pd-arraysize configuration, data, and all of its dependencies
We can use the following command to remove pd-arraysize configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge pd-arraysize
Dependencies
pd-arraysize have the following dependencies:
References
Summary
In this tutorial we learn how to install pd-arraysize package on Ubuntu using different package management tools: apt, apt-get and aptitude.