How To Install xserver-xorg-input-synaptics-hwe-18.04 on Ubuntu 18.04

In this tutorial we learn how to install xserver-xorg-input-synaptics-hwe-18.04 on Ubuntu 18.04. xserver-xorg-input-synaptics-hwe-18.04 is Synaptics TouchPad driver for X.Org server

Introduction

In this tutorial we learn how to install xserver-xorg-input-synaptics-hwe-18.04 on Ubuntu 18.04.

What is xserver-xorg-input-synaptics-hwe-18.04

xserver-xorg-input-synaptics-hwe-18.04 is:

This package provides an input driver for the X.Org X server to enable advanced features of the Synaptics Touchpad including:

  • Movement with adjustable, non-linear acceleration and speed
  • Button events through short touching of the touchpad
  • Double-Button events through double short touching of the touchpad
  • Dragging through short touching and holding down the finger on the touchpad
  • Middle and right button events on the upper and lower corner of the touchpad
  • Vertical scrolling (button four and five events) through moving the finger on the right side of the touchpad
  • The up/down button sends button four/five events
  • Horizontal scrolling (button six and seven events) through moving the finger on the lower side of the touchpad
  • The multi-buttons send button four/five events, and six/seven events for horizontal scrolling
  • Adjustable finger detection
  • Multifinger taps: two finger for middle button and three finger for right button events. (Needs hardware support. Not all models implement this feature.)
  • Run-time configuration using shared memory. This means you can change parameter settings without restarting the X server (see synclient(1)).
  • It also provides a daemon to disable touchpad while typing at the keyboard and thus avoid unwanted mouse movements (see syndaemon(1)).

There are three methods to install xserver-xorg-input-synaptics-hwe-18.04 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 xserver-xorg-input-synaptics-hwe-18.04 Using apt-get

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

sudo apt-get update

After updating apt database, We can install xserver-xorg-input-synaptics-hwe-18.04 using apt-get by running the following command:

sudo apt-get -y install xserver-xorg-input-synaptics-hwe-18.04

Install xserver-xorg-input-synaptics-hwe-18.04 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install xserver-xorg-input-synaptics-hwe-18.04 using apt by running the following command:

sudo apt -y install xserver-xorg-input-synaptics-hwe-18.04

Install xserver-xorg-input-synaptics-hwe-18.04 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 xserver-xorg-input-synaptics-hwe-18.04 using aptitude by running the following command:

sudo aptitude -y install xserver-xorg-input-synaptics-hwe-18.04

How To Uninstall xserver-xorg-input-synaptics-hwe-18.04 on Ubuntu 18.04

To uninstall only the xserver-xorg-input-synaptics-hwe-18.04 package we can use the following command:

sudo apt-get remove xserver-xorg-input-synaptics-hwe-18.04

Uninstall xserver-xorg-input-synaptics-hwe-18.04 And Its Dependencies

To uninstall xserver-xorg-input-synaptics-hwe-18.04 and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove xserver-xorg-input-synaptics-hwe-18.04

Remove xserver-xorg-input-synaptics-hwe-18.04 Configurations and Data

To remove xserver-xorg-input-synaptics-hwe-18.04 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge xserver-xorg-input-synaptics-hwe-18.04

Remove xserver-xorg-input-synaptics-hwe-18.04 configuration, data, and all of its dependencies

We can use the following command to remove xserver-xorg-input-synaptics-hwe-18.04 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge xserver-xorg-input-synaptics-hwe-18.04

References

Summary

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