How To Install libwacom2 on Ubuntu 20.04

In this tutorial we learn how to install libwacom2 on Ubuntu 20.04. libwacom2 is Wacom model feature query library Wacom model feature query library

Introduction

In this tutorial we learn how to install libwacom2 on Ubuntu 20.04.

What is libwacom2

libwacom2 is:

libwacom is a library to identify wacom tablets and their model-specific features. It provides easy access to information such as “is this a built-in on-screen tablet”, “what is the size of this model”, etc. Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: libwacom2 Architecture: amd64 Version: 1.3-2ubuntu1 Multi-Arch: same Priority: optional Section: libs Source: libwacom Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Timo Aaltonen [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 70 Depends: libc6 (>= 2.8), libglib2.0-0 (>= 2.24.0), libgudev-1.0-0 (>= 146), libwacom-common (= 1.3-2ubuntu1) Recommends: libwacom-bin (= 1.3-2ubuntu1) Filename: pool/main/libw/libwacom/libwacom2_1.3-2ubuntu1_amd64.deb Size: 19716 MD5sum: 901006428d994b6936614798653c746b SHA1: ecb692064e4abc6a5453c8cedf405926688d7e08 SHA256: ac6a11f4420c5f26f0b265fb2ff19c34b4de449a5e6a10988c21746e93357a1e Description-en: Wacom model feature query library libwacom is a library to identify wacom tablets and their model-specific features. It provides easy access to information such as “is this a built-in on-screen tablet”, “what is the size of this model”, etc. Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

There are three methods to install libwacom2 on Ubuntu 20.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 libwacom2 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libwacom2

Install libwacom2 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libwacom2

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

sudo aptitude -y install libwacom2

How To Uninstall libwacom2 on Ubuntu 20.04

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

sudo apt-get remove libwacom2

Uninstall libwacom2 And Its Dependencies

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

sudo apt-get -y autoremove libwacom2

Remove libwacom2 Configurations and Data

To remove libwacom2 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libwacom2

Remove libwacom2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libwacom2

References

Summary

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