How To Install xwiimote on Ubuntu 18.04

In this tutorial we learn how to install xwiimote on Ubuntu 18.04. xwiimote is Nintendo Wii Remote Linux Device Driver Tools

Introduction

In this tutorial we learn how to install xwiimote on Ubuntu 18.04.

What is xwiimote

xwiimote is:

This provides tools related to the open source Nintendo Wii Remote linux device driver.

This contains the tool for displaying Wii remote connected and the setting tool which uses operation of Wii remote as keyboard.

There are three methods to install xwiimote 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 xwiimote Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

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

sudo apt-get -y install xwiimote

Install xwiimote Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install xwiimote using apt by running the following command:

sudo apt -y install xwiimote

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

sudo aptitude -y install xwiimote

How To Uninstall xwiimote on Ubuntu 18.04

To uninstall only the xwiimote package we can use the following command:

sudo apt-get remove xwiimote

Uninstall xwiimote And Its Dependencies

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

sudo apt-get -y autoremove xwiimote

Remove xwiimote Configurations and Data

To remove xwiimote configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge xwiimote

Remove xwiimote configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge xwiimote

References

Summary

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