Ways to Install or Uninstall xinput on Ubuntu 22.04

Updated: October 10, 2022

Xinput is an utility for configuring and testing XInput devices. In this guide, I will show you ways to install xinput Ubuntu 22.04.

Requirements to install

  • OS: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Verify that you can execute the sudo commands line.

Prerequisites to install xinput on Ubuntu 22.04

Install xinput Ubuntu 22.04

xinput is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install xinput using APT

This is one of the popular ways to install any Ubuntu packages because it is simple to understand, even if you are a Linux novice. Following these steps to install xinput on your Ubuntu.

Step 1: Update the APT database to download new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install xinput Ubuntu by pasting this command into the terminal and executing it.

sudo apt install xinput

Install xinput using Aptitude

If you didn’t install Aptitude on Ubuntu, you need to install it by executing this command.

sudo apt -y install aptitude

Then, you can now install xinput by following these steps:

Step 1: Update the APT database to download new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt-get update

Step 2: Install the package on Ubuntu 22.04. You can now install xinput Ubuntu by executing this command in the terminal.

sudo aptitude -y install xinput

Uninstall xinput on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a xinput, can be easily uninstalled by anyone.

You can uninstall xinput Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove xinput

You can also execute this command if you want to uninstall xinput and remove its data and dependencies:

sudo apt autoremove --purge xinput

Conclusion

In this guide, I showed you ways to install xinput on Ubuntu 22.04 and ways to uninstall xinput too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.