How To Install readline-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install readline-devel.x86_64 in Amazon Linux 2. readline-devel.x86_64 is Files needed to develop programs which use the readline library

Introduction

In this tutorial we learn how to install readline-devel.x86_64 on Amazon Linux 2.

What is readline-devel.x86_64

The Readline library provides a set of functions that allow users to edit typed command lines. If you want to develop programs that will use the readline library, you need to have the readline-devel package installed. You also need to have the readline package installed.

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

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

sudo yum -y install readline-devel.x86_64

How To Uninstall readline-devel.x86_64 on Amazon Linux 2

To uninstall only the readline-devel.x86_64 package we can use the following command:

sudo yum remove readline-devel.x86_64

readline-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/readline
/usr/include/readline/chardefs.h
/usr/include/readline/history.h
/usr/include/readline/keymaps.h
/usr/include/readline/readline.h
/usr/include/readline/rlconf.h
/usr/include/readline/rlstdc.h
/usr/include/readline/rltypedefs.h
/usr/include/readline/tilde.h
/usr/lib64/libhistory.so
/usr/lib64/libreadline.so
/usr/share/doc/readline-devel-6.2
/usr/share/doc/readline-devel-6.2/excallback.c
/usr/share/doc/readline-devel-6.2/fileman.c
/usr/share/doc/readline-devel-6.2/histexamp.c
/usr/share/doc/readline-devel-6.2/manexamp.c
/usr/share/doc/readline-devel-6.2/readlinebuf.h
/usr/share/doc/readline-devel-6.2/rl-fgets.c
/usr/share/doc/readline-devel-6.2/rl.c
/usr/share/doc/readline-devel-6.2/rlcat.c
/usr/share/doc/readline-devel-6.2/rlevent.c
/usr/share/doc/readline-devel-6.2/rlfe
/usr/share/doc/readline-devel-6.2/rlfe/ChangeLog
/usr/share/doc/readline-devel-6.2/rlfe/Makefile.in
/usr/share/doc/readline-devel-6.2/rlfe/README
/usr/share/doc/readline-devel-6.2/rlfe/config.h.in
/usr/share/doc/readline-devel-6.2/rlfe/configure.in
/usr/share/doc/readline-devel-6.2/rlfe/extern.h
/usr/share/doc/readline-devel-6.2/rlfe/os.h
/usr/share/doc/readline-devel-6.2/rlfe/pty.c
/usr/share/doc/readline-devel-6.2/rlfe/rlfe.c
/usr/share/doc/readline-devel-6.2/rlfe/screen.h
/usr/share/doc/readline-devel-6.2/rlptytest.c
/usr/share/doc/readline-devel-6.2/rltest.c
/usr/share/doc/readline-devel-6.2/rlversion.c
/usr/share/info/readline.info.gz
/usr/share/man/man3/history.3.gz
/usr/share/man/man3/readline.3.gz

References

Summary

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