How to Install libdrm-dev in Ubuntu 18.04



Install libdrm-dev by entering the following commands in the terminal:

sudo apt update
sudo apt install libdrm-dev

Description:

Userspace interface to kernel DRM services -- development files

This library implements the userspace interface to the kernel DRM services. DRM stands for "Direct Rendering Manager", which is the kernelspace portion of the "Direct Rendering Infrastructure" (DRI). The DRI is currently used on Linux to provide hardware-accelerated OpenGL drivers. . This package provides the development environment for libdrm.

Homepage: https://cgit.freedesktop.org/mesa/drm/

Version: 2.4.91-2

Section: libdevel