How To Install libuv.i686 on Amazon Linux 2

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

Introduction

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

What is libuv.i686

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.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libuv.i686.

Install libuv.i686 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.i686 using yum by running the following command:

sudo yum -y install libuv.i686

How To Uninstall libuv.i686 on Amazon Linux 2

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

sudo yum remove libuv.i686

libuv.i686 Package Contents on Amazon Linux 2

/usr/lib/libuv.so.1
/usr/lib/libuv.so.1.0.0
/usr/lib/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.i686 on Amazon Linux 2 using yum.