How To Install pd-wiimote on Ubuntu 18.04

In this tutorial we learn how to install pd-wiimote on Ubuntu 18.04. pd-wiimote is Pd object for accessing the wiimote controller

Introduction

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

What is pd-wiimote

pd-wiimote is:

This Pure Data object adds access to the sensor data from Nintendo’s wiimote controller. Also it provides an interface to control the controller’s actuators such as LED 1-4 and the rumble vibrator. Furthermore, it supports some of the extensions of the wiimote, such as Nunchuk, Motion Plus, Classic Control.

Check the help-patch for more usage information.

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

sudo apt-get -y install pd-wiimote

Install pd-wiimote Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install pd-wiimote

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

sudo aptitude -y install pd-wiimote

How To Uninstall pd-wiimote on Ubuntu 18.04

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

sudo apt-get remove pd-wiimote

Uninstall pd-wiimote And Its Dependencies

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

sudo apt-get -y autoremove pd-wiimote

Remove pd-wiimote Configurations and Data

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

sudo apt-get -y purge pd-wiimote

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

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

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

References

Summary

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