In this article, I will take you through the steps to install libxcb-dri3-0 package on Ubuntu 20.04 LTS. linxcb-dri3-0 is basically a set of library files needed to run a software using libxcb-dri3, the dri3 extension for the X C Binding. The XCB library provides an interface to the X Window System protocol mainly designed to replace the Xlib interface due to multiple reasons. XCB provides several advantages over Xlib interface which we will see in a short while. More can be checked on Debian Page. It is also very easy to install in almost all the linux distributions. Here we will see the steps to install libxcb-dri3-0 package on Ubuntu 20.04 LTS based systems.
Advantages of XCB Library over Xlib
- It is a small size library and hence having lower memory footprint
- It can queue up several requests at once and then wait for the response later
- It provides one-to-one mapping between interface and protocol
- It can access XCB from multiple threads without putting any explicit locking
- It can automatically generates interface from machine-parsable protocol descriptions.
How to Install libxcb-dri3-0 package on Ubuntu 20.04 LTS (Focal Fossa)
Also Read: How to Install wmclock on Ubuntu 20.04 LTS (Focal Fossa)
Step 1: Prerequisites
a) You should have a running
Ubuntu 20.04 LTS Server.
b) You should have
root access to run privileged commands.
c) You should have
apt-get utility available in your Server.
Step 2: Update Your Server
Before proceeding with the steps to install
libxcb-dri3-0, it is strongly advised to first update and upgrade the installed system packages to the latest version by using
sudo apt update && sudo apt upgrade command as shown below.
cyberithub@ubuntu:~$ sudo apt update && sudo apt upgrade [sudo] password for cyberithub: Hit:1 http://in.archive.ubuntu.com/ubuntu focal InRelease Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB] Hit:3 https://dl.google.com/linux/chrome/deb stable InRelease Get:4 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Get:5 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB] Get:6 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [59.8 kB] Get:7 http://in.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2,335 kB] Get:8 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [94.1 kB] Get:9 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [940 B] Get:10 http://in.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [275 kB] Get:11 http://in.archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages [30.4 kB] ....................................................
Step 3: Install libxcb-dri3-0 package
In the next step, you can install libxcb-dri3-0 extension package from default Ubuntu repo by using
sudo apt install libxcb-dri3-0 command as shown below. This will download and install the package along with all its dependencies. Since in my system, it is already installed so it won't be installing it again.
cyberithub@ubuntu:~$ sudo apt install libxcb-dri3-0 Reading package lists... Done Building dependency tree Reading state information... Done libxcb-dri3-0 is already the newest version (1.14-2). libxcb-dri3-0 set to manually installed. The following packages were automatically installed and are no longer required: libfwupdplugin1 libllvm11 libxmlb1 Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Step 4: Verify Installation
After successful installation, you can verify the installed files path by using
dpkg -L libxcb-dri3-0 command as shown below.
cyberithub@ubuntu:~$ dpkg -L libxcb-dri3-0 /. /usr /usr/lib /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0 /usr/share /usr/share/doc /usr/share/doc/libxcb-dri3-0 /usr/share/doc/libxcb-dri3-0/copyright /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 /usr/share/doc/libxcb-dri3-0/changelog.Debian.gz