How To Install libuv-devel on Rocky Linux 8

In this tutorial we learn how to install libuv-devel on Rocky Linux 8. libuv-devel is Development libraries for libuv

Introduction

In this tutorial we learn how to install libuv-devel on Rocky Linux 8.

What is libuv-devel

Development libraries for libuv

We can use yum or dnf to install libuv-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libuv-devel.

Install libuv-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libuv-devel using dnf by running the following command:

sudo dnf -y install libuv-devel

Install libuv-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libuv-devel using yum by running the following command:

sudo yum -y install libuv-devel

How To Uninstall libuv-devel on Rocky Linux 8

To uninstall only the libuv-devel package we can use the following command:

sudo dnf remove libuv-devel

libuv-devel Package Contents on Rocky Linux 8

/usr/include/uv
/usr/include/uv.h
/usr/include/uv/errno.h
/usr/include/uv/linux.h
/usr/include/uv/threadpool.h
/usr/include/uv/unix.h
/usr/include/uv/version.h
/usr/lib/libuv.so
/usr/lib/pkgconfig/libuv.pc
/usr/include/uv
/usr/include/uv.h
/usr/include/uv/errno.h
/usr/include/uv/linux.h
/usr/include/uv/threadpool.h
/usr/include/uv/unix.h
/usr/include/uv/version.h
/usr/lib64/libuv.so
/usr/lib64/pkgconfig/libuv.pc

References

Summary

In this tutorial we learn how to install libuv-devel on Rocky Linux 8 using yum and dnf.