How To Install xserver-xorg-dev on Ubuntu 20.04
Introduction
In this tutorial we learn how to install xserver-xorg-dev
on Ubuntu 20.04.
What is xserver-xorg-dev
xserver-xorg-dev is:
This package provides development files for the X.Org (‘Xorg’) X server. This is not quite the same as the DDK (Driver Development Kit) from the XFree86 4.x and X.Org 6.7, 6.8 and 6.9 series of servers; it provides headers and a pkg-config file for drivers using autotools to build against.
Unless you are developing or building a driver, you probably want xserver-xorg and/or xserver-xorg-core instead.
More information about X.Org can be found at: URL:https://www.x.org
This package is built from the X.org xserver module.
Package: xserver-xorg-dev Architecture: amd64 Version: 2:1.20.9-2ubuntu1.2~20.04.2 Priority: optional Section: x11 Source: xorg-server Origin: Ubuntu Maintainer: Ubuntu X-SWAT [email protected] Original-Maintainer: Debian X Strike Force [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 1441 Depends: libpixman-1-dev (>= 0.27.2), x11proto-dev (>= 2018.4), libxfont-dev, libxkbfile-dev, libpciaccess-dev, mesa-common-dev Filename: pool/main/x/xorg-server/xserver-xorg-dev_1.20.9-2ubuntu1.2~20.04.2_amd64.deb Size: 200908 MD5sum: 2641e88c8d366cf700ea878ab621e914 SHA1: ef404faf1b1359026d352efa9d971bf6e3383fd7 SHA256: f4b5c9ac81348bab20396608a8ab4c15d5ca6cebee8b7f807672dc804a195aba SHA512: 445fced3144d531351f97959a96bfcaac9f4ed2e3b530b4883f16053dbc1cd69d48413ff47f8db2a398e34aa04c5b34bd3254e6c4cbc6e9b061a4d6a37094b0c Homepage: https://www.x.org/ Description-en: Xorg X server - development files This package provides development files for the X.Org (‘Xorg’) X server. This is not quite the same as the DDK (Driver Development Kit) from the XFree86 4.x and X.Org 6.7, 6.8 and 6.9 series of servers; it provides headers and a pkg-config file for drivers using autotools to build against.
Unless you are developing or building a driver, you probably want xserver-xorg and/or xserver-xorg-core instead.
More information about X.Org can be found at: URL:https://www.x.org
This package is built from the X.org xserver module.
Package: xserver-xorg-dev Architecture: amd64 Version: 2:1.20.8-2ubuntu2 Priority: optional Section: x11 Source: xorg-server Origin: Ubuntu Maintainer: Ubuntu X-SWAT [email protected] Original-Maintainer: Debian X Strike Force [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 1439 Depends: libpixman-1-dev (>= 0.27.2), x11proto-dev (>= 2018.4), libxfont-dev, libxkbfile-dev, libpciaccess-dev, mesa-common-dev Filename: pool/main/x/xorg-server/xserver-xorg-dev_1.20.8-2ubuntu2_amd64.deb Size: 200416 MD5sum: 5c5f4b65c532d1e22bf69eaad82f2049 SHA1: 4b0dc5c97cca7bbf953b63e8c0b207c89d10799a SHA256: 63b4123cac5b8fafa8bfa7ab7998c1319ae8e1838af75905b589251b7038c51a Homepage: https://www.x.org/ Description-en: Xorg X server - development files This package provides development files for the X.Org (‘Xorg’) X server. This is not quite the same as the DDK (Driver Development Kit) from the XFree86 4.x and X.Org 6.7, 6.8 and 6.9 series of servers; it provides headers and a pkg-config file for drivers using autotools to build against.
Unless you are developing or building a driver, you probably want xserver-xorg and/or xserver-xorg-core instead.
More information about X.Org can be found at: URL:https://www.x.org
This package is built from the X.org xserver module.
There are three methods to install xserver-xorg-dev
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 xserver-xorg-dev 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-dev
using apt-get
by running the following command:
sudo apt-get -y install xserver-xorg-dev
Install xserver-xorg-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install xserver-xorg-dev
using apt
by running the following command:
sudo apt -y install xserver-xorg-dev
Install xserver-xorg-dev 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-dev
using aptitude
by running the following command:
sudo aptitude -y install xserver-xorg-dev
How To Uninstall xserver-xorg-dev on Ubuntu 20.04
To uninstall only the xserver-xorg-dev
package we can use the following command:
sudo apt-get remove xserver-xorg-dev
Uninstall xserver-xorg-dev And Its Dependencies
To uninstall xserver-xorg-dev
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove xserver-xorg-dev
Remove xserver-xorg-dev Configurations and Data
To remove xserver-xorg-dev
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge xserver-xorg-dev
Remove xserver-xorg-dev configuration, data, and all of its dependencies
We can use the following command to remove xserver-xorg-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge xserver-xorg-dev
References
Summary
In this tutorial we learn how to install xserver-xorg-dev
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.