How To Install libwinpr.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libwinpr.x86_64 in Amazon Linux 2. libwinpr.x86_64 is Windows Portable Runtime

Introduction

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

What is libwinpr.x86_64

WinPR provides API compatibility for applications targeting non-Windows environments. When on Windows, the original native API is being used instead of the equivalent WinPR implementation, without having to modify the code using it.

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

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

sudo yum -y install libwinpr.x86_64

How To Uninstall libwinpr.x86_64 on Amazon Linux 2

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

sudo yum remove libwinpr.x86_64

libwinpr.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libwinpr-tools2.so.2
/usr/lib64/libwinpr-tools2.so.2.1.1
/usr/lib64/libwinpr2.so.2
/usr/lib64/libwinpr2.so.2.1.1
/usr/share/doc/libwinpr-2.1.1
/usr/share/doc/libwinpr-2.1.1/ChangeLog
/usr/share/doc/libwinpr-2.1.1/README.md
/usr/share/licenses/libwinpr-2.1.1
/usr/share/licenses/libwinpr-2.1.1/LICENSE

References

Summary

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