How To Install libuv.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libuv.x86_64 in Amazon Linux 2. libuv.x86_64 is Platform layer for node.js

Introduction

In this tutorial we learn how to install libuv.x86_64 on Amazon Linux 2.

What is libuv.x86_64

libuv is a new platform layer for Node. Its purpose is to abstract IOCP on Windows and libev on Unix systems. We intend to eventually contain all platform differences in this library.

We can use yum to install libuv.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libuv.x86_64.

Install libuv.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libuv.x86_64

How To Uninstall libuv.x86_64 on Amazon Linux 2

To uninstall only the libuv.x86_64 package we can use the following command:

sudo yum remove libuv.x86_64

libuv.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libuv.so.1
/usr/lib64/libuv.so.1.0.0
/usr/lib64/libuv/libuv.abignore
/usr/share/doc/libuv-1.39.0
/usr/share/doc/libuv-1.39.0/AUTHORS
/usr/share/doc/libuv-1.39.0/CONTRIBUTING.md
/usr/share/doc/libuv-1.39.0/ChangeLog
/usr/share/doc/libuv-1.39.0/MAINTAINERS.md
/usr/share/doc/libuv-1.39.0/README.md
/usr/share/doc/libuv-1.39.0/SUPPORTED_PLATFORMS.md
/usr/share/licenses/libuv-1.39.0
/usr/share/licenses/libuv-1.39.0/LICENSE

References

Summary

In this tutorial we learn how to install libuv.x86_64 on Amazon Linux 2 using yum.