How To Install x11-xserver-utils on Ubuntu 20.04

In this tutorial we learn how to install x11-xserver-utils on Ubuntu 20.04. x11-xserver-utils is X server utilities

Introduction

In this tutorial we learn how to install x11-xserver-utils on Ubuntu 20.04.

What is x11-xserver-utils

x11-xserver-utils is:

An X client is a program that interfaces with an X server (almost always via the X libraries), and thus with some input and output hardware like a graphics card, monitor, keyboard, and pointing device (such as a mouse).

This package provides a miscellaneous assortment of X Server utilities that ship with the X Window System, including:

  • iceauth, a tool for manipulating ICE protocol authorization records;
  • rgb;
  • sessreg, a simple program for managing utmp/wtmp entries;
  • xcmsdb, a device color characteristic utility for the X Color Management System;
  • xgamma, a tool for querying and setting a monitor’s gamma correction;
  • xhost, a very dangerous program that you should never use;
  • xmodmap, a utility for modifying keymaps and pointer button mappings in X;
  • xrandr, a command-line interface to the RandR extension;
  • xrdb, a tool to manage the X server resource database;
  • xrefresh, a tool that forces a redraw of the X screen;
  • xset, a tool for setting miscellaneous X server parameters;
  • xsetmode and xsetpointer, tools for handling X Input devices;
  • xsetroot, a tool for tailoring the appearance of the root window;
  • xstdcmap, a utility to selectively define standard colormap properties;
  • xvidtune, a tool for customizing X server modelines for your monitor. 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 x11-xserver-utils 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 x11-xserver-utils Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install x11-xserver-utils

Install x11-xserver-utils Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install x11-xserver-utils using apt by running the following command:

sudo apt -y install x11-xserver-utils

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

sudo aptitude -y install x11-xserver-utils

How To Uninstall x11-xserver-utils on Ubuntu 20.04

To uninstall only the x11-xserver-utils package we can use the following command:

sudo apt-get remove x11-xserver-utils

Uninstall x11-xserver-utils And Its Dependencies

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

sudo apt-get -y autoremove x11-xserver-utils

Remove x11-xserver-utils Configurations and Data

To remove x11-xserver-utils configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge x11-xserver-utils

Remove x11-xserver-utils configuration, data, and all of its dependencies

We can use the following command to remove x11-xserver-utils configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge x11-xserver-utils

References

Summary

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