How To Install pd-cxc on Ubuntu 18.04

In this tutorial we learn how to install pd-cxc on Ubuntu 18.04. pd-cxc is Pd library for working with patterns and numbers

Introduction

In this tutorial we learn how to install pd-cxc on Ubuntu 18.04.

What is pd-cxc

pd-cxc is:

cxc is a library of Pd objects for random numbers, number patterns and a couple errant system tools.

  • ixprint: print data on console without prefix (needed for ascwave)
  • binshift: binary shift objects («,»)
  • ascseq: ascii-sequencer: input anything, which is output again sequentially character by character with a given delay
  • ascwave: print funny ascii constructions on console
  • bfilt: re-output every argumen-th event, useful for modulo-sequencers
  • bfilt2: features internal counter, output just bangs
  • cxc_counter: a clone of the counting object from pd-markex
  • reson: an interpolating reson filter
  • cxc_prepend: prepend stuff with another symbol
  • cxc_split: split incoming string at specified delimiter
  • utime: output seconds since epoch and microsecond fraction
  • random1, random_fl, random_icg, random_tw, dist_normal: PRNG algorithms
  • random1~, random_fl~, random_icg~: signal version of above algorithms
  • ENV: get and set environment variables and certain defines like RAND_MAX
  • proc: get stuff out of the Linux proc directory (so far: cpuinfo, loadavg, version, uptime)
  • delta~: emit distance to last sample as signal
  • cx.mean, cx.avgdev, cx.stddev: calculate mean, standard and average deviation of a signal in an array

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

sudo apt-get -y install pd-cxc

Install pd-cxc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pd-cxc

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

sudo aptitude -y install pd-cxc

How To Uninstall pd-cxc on Ubuntu 18.04

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

sudo apt-get remove pd-cxc

Uninstall pd-cxc And Its Dependencies

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

sudo apt-get -y autoremove pd-cxc

Remove pd-cxc Configurations and Data

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

sudo apt-get -y purge pd-cxc

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

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

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

References

Summary

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