x11-common contains the filesystem infrastructure required for further installation of the X Window System in any configuration; it does not provide a full installation of clients, servers, libraries, and utilities required to run the X Window System. I will show you how to install x11-common on Ubuntu 22.04 in this guide.
- Operating system: Ubuntu 22.04 is needed for x11-common to work
- Privileges: Ensure that you are able to execute the sudo commands line.
Install x11-common Ubuntu 22.04
x11-common is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one that you think is easy and you can follow.
Install x11-common using APT
This is a popular method for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to install x11-common on your Ubuntu 22.04.
Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing the following Linux command:
Step 2: Install the package on Ubuntu 22.04. After updating, you can install x11-common Ubuntu by pasting this command into the terminal and executing it.
Install x11-common using Aptitude
Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already done so, run this command to install it.
After installing aptitude, you can now install x11-common by following these steps:
Step 1: Update the APT database to download new packages from Ubuntu. Opening the terminal and executing the following Linux command:
Step 2: Start installing the packages on Ubuntu 22.04. After updating, you can install x11-common Ubuntu by executing this command in the terminal.
Uninstall x11-common on Ubuntu 22.04
Have you ever considered how challenging it might be to uninstall an application from Ubuntu? You’re wrong, anyone can easily uninstall any program, not just a x11-common.
If you installed x11-common using APT or Aptitude, you could uninstall x11-common on Ubuntu by executing this command
If you want to uninstall x11-common and remove its data and dependencies, you can also run the following command:
In this guide, I showed you ways to install x11-common on Ubuntu 22.04 and some ways to uninstall x11-common too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.