How To Install pyldb.i686 on Amazon Linux 2

In this tutorial we learn how to install pyldb.i686 in Amazon Linux 2. pyldb.i686 is Python bindings for the LDB library

Introduction

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

What is pyldb.i686

Python bindings for the LDB library

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

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

sudo yum -y install pyldb.i686

How To Uninstall pyldb.i686 on Amazon Linux 2

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

sudo yum remove pyldb.i686

pyldb.i686 Package Contents on Amazon Linux 2

/usr/lib/libpyldb-util.so.1
/usr/lib/libpyldb-util.so.1.5.4
/usr/lib/python2.7/site-packages/_ldb_text.py
/usr/lib/python2.7/site-packages/_ldb_text.pyc
/usr/lib/python2.7/site-packages/_ldb_text.pyo
/usr/lib/python2.7/site-packages/ldb.so

References

Summary

In this tutorial we learn how to install pyldb.i686 on Amazon Linux 2 using yum.