How To Install readline-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install readline-devel
on Rocky Linux 8.
What is readline-devel
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
or dnf
to install readline-devel
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install readline-devel.
Install readline-devel on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install readline-devel
using dnf
by running the following command:
sudo dnf -y install readline-devel
Install readline-devel on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install readline-devel
using yum
by running the following command:
sudo yum -y install readline-devel
How To Uninstall readline-devel on Rocky Linux 8
To uninstall only the readline-devel
package we can use the following command:
sudo dnf remove readline-devel
readline-devel Package Contents on Rocky Linux 8
/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/lib/libhistory.so
/usr/lib/libreadline.so
/usr/share/doc/readline-devel
/usr/share/doc/readline-devel/CHANGES
/usr/share/doc/readline-devel/NEWS
/usr/share/doc/readline-devel/README
/usr/share/doc/readline-devel/excallback.c
/usr/share/doc/readline-devel/fileman.c
/usr/share/doc/readline-devel/hist_erasedups.c
/usr/share/doc/readline-devel/hist_purgecmd.c
/usr/share/doc/readline-devel/histexamp.c
/usr/share/doc/readline-devel/manexamp.c
/usr/share/doc/readline-devel/readlinebuf.h
/usr/share/doc/readline-devel/rl-callbacktest.c
/usr/share/doc/readline-devel/rl-fgets.c
/usr/share/doc/readline-devel/rl.c
/usr/share/doc/readline-devel/rlbasic.c
/usr/share/doc/readline-devel/rlcat.c
/usr/share/doc/readline-devel/rlevent.c
/usr/share/doc/readline-devel/rlfe
/usr/share/doc/readline-devel/rlfe/ChangeLog
/usr/share/doc/readline-devel/rlfe/Makefile.in
/usr/share/doc/readline-devel/rlfe/README
/usr/share/doc/readline-devel/rlfe/config.h.in
/usr/share/doc/readline-devel/rlfe/configure
/usr/share/doc/readline-devel/rlfe/configure.in
/usr/share/doc/readline-devel/rlfe/extern.h
/usr/share/doc/readline-devel/rlfe/os.h
/usr/share/doc/readline-devel/rlfe/pty.c
/usr/share/doc/readline-devel/rlfe/rlfe.c
/usr/share/doc/readline-devel/rlfe/screen.h
/usr/share/doc/readline-devel/rlptytest.c
/usr/share/doc/readline-devel/rltest.c
/usr/share/doc/readline-devel/rlversion.c
/usr/share/info/readline.info.gz
/usr/share/man/man3/history.3.gz
/usr/share/man/man3/readline.3.gz
/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
/usr/share/doc/readline-devel/CHANGES
/usr/share/doc/readline-devel/NEWS
/usr/share/doc/readline-devel/README
/usr/share/doc/readline-devel/excallback.c
/usr/share/doc/readline-devel/fileman.c
/usr/share/doc/readline-devel/hist_erasedups.c
/usr/share/doc/readline-devel/hist_purgecmd.c
/usr/share/doc/readline-devel/histexamp.c
/usr/share/doc/readline-devel/manexamp.c
/usr/share/doc/readline-devel/readlinebuf.h
/usr/share/doc/readline-devel/rl-callbacktest.c
/usr/share/doc/readline-devel/rl-fgets.c
/usr/share/doc/readline-devel/rl.c
/usr/share/doc/readline-devel/rlbasic.c
/usr/share/doc/readline-devel/rlcat.c
/usr/share/doc/readline-devel/rlevent.c
/usr/share/doc/readline-devel/rlfe
/usr/share/doc/readline-devel/rlfe/ChangeLog
/usr/share/doc/readline-devel/rlfe/Makefile.in
/usr/share/doc/readline-devel/rlfe/README
/usr/share/doc/readline-devel/rlfe/config.h.in
/usr/share/doc/readline-devel/rlfe/configure
/usr/share/doc/readline-devel/rlfe/configure.in
/usr/share/doc/readline-devel/rlfe/extern.h
/usr/share/doc/readline-devel/rlfe/os.h
/usr/share/doc/readline-devel/rlfe/pty.c
/usr/share/doc/readline-devel/rlfe/rlfe.c
/usr/share/doc/readline-devel/rlfe/screen.h
/usr/share/doc/readline-devel/rlptytest.c
/usr/share/doc/readline-devel/rltest.c
/usr/share/doc/readline-devel/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
on Rocky Linux 8 using yum and dnf.