How To Install libinput-bin on Ubuntu 20.04

In this tutorial we learn how to install libinput-bin on Ubuntu 20.04. libinput-bin is input device management and event handling library - udev quirks input device management and event handling library - udev quirks

Introduction

In this tutorial we learn how to install libinput-bin on Ubuntu 20.04.

What is libinput-bin

libinput-bin is:

libinput is a library that handles input devices for display servers and other applications that need to directly deal with input devices.

It provides device detection, device handling, input device event processing and abstraction to minimize the amount of custom input code the user of libinput needs to provide the common set of functionality that users expect.

This package includes the udev quirks database and helpers. 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: libinput-bin Architecture: amd64 Version: 1.15.5-1 Multi-Arch: foreign Priority: optional Section: libs Source: libinput Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian X Strike Force [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 121 Depends: libc6 (>= 2.7), libevdev2 (>= 0.9.1), libudev1 (>= 183), libwacom2 (>= 1.1) Filename: pool/main/libi/libinput/libinput-bin_1.15.5-1_amd64.deb Size: 18908 MD5sum: 1dfbd2b591cde22ac00ac0007d33d179 SHA1: 33d5f56b35115ab2a4a3b055e5d9ada21289dbf0 SHA256: 8620e5f9d4c9427277534d41816d0151532ec05d5e818fb9e90f0becce3ac179 Homepage: http://www.freedesktop.org/wiki/Software/libinput/ Description-en: input device management and event handling library - udev quirks libinput is a library that handles input devices for display servers and other applications that need to directly deal with input devices.

It provides device detection, device handling, input device event processing and abstraction to minimize the amount of custom input code the user of libinput needs to provide the common set of functionality that users expect.

This package includes the udev quirks database and helpers. 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 libinput-bin 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 libinput-bin Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libinput-bin

Install libinput-bin Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libinput-bin

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

sudo aptitude -y install libinput-bin

How To Uninstall libinput-bin on Ubuntu 20.04

To uninstall only the libinput-bin package we can use the following command:

sudo apt-get remove libinput-bin

Uninstall libinput-bin And Its Dependencies

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

sudo apt-get -y autoremove libinput-bin

Remove libinput-bin Configurations and Data

To remove libinput-bin configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libinput-bin

Remove libinput-bin configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libinput-bin

References

Summary

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