How To Install xorg-server-source on Ubuntu 20.04

In this tutorial we learn how to install xorg-server-source on Ubuntu 20.04. xorg-server-source is Xorg X server - source files Xorg X server - source files Xorg X server - source files

Introduction

In this tutorial we learn how to install xorg-server-source on Ubuntu 20.04.

What is xorg-server-source

xorg-server-source is:

This package provides original Debian (with Debian patches already applied, and autotools files updated) sources for the X.Org (‘Xorg’) X server shipped in a tarball. This enables other projects re-using X server codebase (e.g. VNC servers) to (re-)use officially Debian-supported version of the X xserver for their builds.

Unless you are building a software product using X server sources, you probably want xserver-xorg and/or xserver-xorg-core instead.

Package: xorg-server-source Architecture: all Version: 2:1.20.9-2ubuntu1.2~20.04.2 Priority: optional Section: universe/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: 5206 Filename: pool/universe/x/xorg-server/xorg-server-source_1.20.9-2ubuntu1.2~20.04.2_all.deb Size: 5141496 MD5sum: 14705f9647baf27c4b8865d370402849 SHA1: 12f111c90451fd44aa8cae5cc7ce067cfe63d0f9 SHA256: 8a9812c4f33dbfb82f87b46392a8e6a6068cc2c373ad4d53c6c21f460ae13f26 SHA512: 4f80a885d9549f3d72e4e5cff1c46a54fea13523dd7a05b5d4e8dd8f63ae354605d83a2254a92c1077c4a3424bd4a265a176f013607f4d7a74b8db9c508df3b7 Homepage: https://www.x.org/ Description-en: Xorg X server - source files This package provides original Debian (with Debian patches already applied, and autotools files updated) sources for the X.Org (‘Xorg’) X server shipped in a tarball. This enables other projects re-using X server codebase (e.g. VNC servers) to (re-)use officially Debian-supported version of the X xserver for their builds.

Unless you are building a software product using X server sources, you probably want xserver-xorg and/or xserver-xorg-core instead.

Package: xorg-server-source Architecture: all Version: 2:1.20.8-2ubuntu2 Priority: optional Section: universe/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: 5197 Filename: pool/universe/x/xorg-server/xorg-server-source_1.20.8-2ubuntu2_all.deb Size: 5132844 MD5sum: d3ce13a34bdae5e8ca93af9b25ed68c3 SHA1: 14d5a507436bb100b0e3a0756056565bb288ab23 SHA256: 0e098d7a91e5e39359ddac95b15e7df7d6724b2af5d20cb857c68d485bdcc280 Homepage: https://www.x.org/ Description-en: Xorg X server - source files This package provides original Debian (with Debian patches already applied, and autotools files updated) sources for the X.Org (‘Xorg’) X server shipped in a tarball. This enables other projects re-using X server codebase (e.g. VNC servers) to (re-)use officially Debian-supported version of the X xserver for their builds.

Unless you are building a software product using X server sources, you probably want xserver-xorg and/or xserver-xorg-core instead.

There are three methods to install xorg-server-source 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 xorg-server-source Using apt-get

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

sudo apt-get update

After updating apt database, We can install xorg-server-source using apt-get by running the following command:

sudo apt-get -y install xorg-server-source

Install xorg-server-source Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install xorg-server-source using apt by running the following command:

sudo apt -y install xorg-server-source

Install xorg-server-source 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 xorg-server-source using aptitude by running the following command:

sudo aptitude -y install xorg-server-source

How To Uninstall xorg-server-source on Ubuntu 20.04

To uninstall only the xorg-server-source package we can use the following command:

sudo apt-get remove xorg-server-source

Uninstall xorg-server-source And Its Dependencies

To uninstall xorg-server-source and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove xorg-server-source

Remove xorg-server-source Configurations and Data

To remove xorg-server-source configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge xorg-server-source

Remove xorg-server-source configuration, data, and all of its dependencies

We can use the following command to remove xorg-server-source configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge xorg-server-source

References

Summary

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