How To Install libedit.i686 on Amazon Linux 2

In this tutorial we learn how to install libedit.i686 in Amazon Linux 2. libedit.i686 is The NetBSD Editline library

Introduction

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

What is libedit.i686

Libedit is an autotool- and libtoolized port of the NetBSD Editline library. It provides generic line editing, history, and tokenization functions, similar to those found in GNU Readline.

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

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

sudo yum -y install libedit.i686

How To Uninstall libedit.i686 on Amazon Linux 2

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

sudo yum remove libedit.i686

libedit.i686 Package Contents on Amazon Linux 2

/usr/lib/libedit.so.0
/usr/lib/libedit.so.0.0.42
/usr/share/doc/libedit-3.0
/usr/share/doc/libedit-3.0/COPYING
/usr/share/doc/libedit-3.0/ChangeLog
/usr/share/doc/libedit-3.0/THANKS

References

Summary

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