How To Install libedit.x86_64 on Amazon Linux 2

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

Introduction

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

What is libedit.x86_64

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

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

sudo yum -y install libedit.x86_64

How To Uninstall libedit.x86_64 on Amazon Linux 2

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

sudo yum remove libedit.x86_64

libedit.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libedit.so.0
/usr/lib64/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.x86_64 on Amazon Linux 2 using yum.