How To Install libedit-devel on Rocky Linux 8

In this tutorial we learn how to install libedit-devel on Rocky Linux 8. libedit-devel is Development files for libedit

Introduction

In this tutorial we learn how to install libedit-devel on Rocky Linux 8.

What is libedit-devel

This package contains development files for libedit.

We can use yum or dnf to install libedit-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libedit-devel.

Install libedit-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 libedit-devel using dnf by running the following command:

sudo dnf -y install libedit-devel

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

sudo yum -y install libedit-devel

How To Uninstall libedit-devel on Rocky Linux 8

To uninstall only the libedit-devel package we can use the following command:

sudo dnf remove libedit-devel

libedit-devel Package Contents on Rocky Linux 8

/usr/include/editline
/usr/include/editline/readline.h
/usr/include/histedit.h
/usr/lib/libedit.so
/usr/lib/pkgconfig/libedit.pc
/usr/share/doc/libedit-devel
/usr/share/doc/libedit-devel/fileman.c
/usr/share/doc/libedit-devel/tc1.c
/usr/share/doc/libedit-devel/wtc1.c
/usr/share/man/man3/editline.3.gz
/usr/share/man/man3/el_deletestr.3.gz
/usr/share/man/man3/el_end.3.gz
/usr/share/man/man3/el_get.3.gz
/usr/share/man/man3/el_getc.3.gz
/usr/share/man/man3/el_gets.3.gz
/usr/share/man/man3/el_init.3.gz
/usr/share/man/man3/el_init_fd.3.gz
/usr/share/man/man3/el_insertstr.3.gz
/usr/share/man/man3/el_line.3.gz
/usr/share/man/man3/el_parse.3.gz
/usr/share/man/man3/el_push.3.gz
/usr/share/man/man3/el_reset.3.gz
/usr/share/man/man3/el_resize.3.gz
/usr/share/man/man3/el_set.3.gz
/usr/share/man/man3/el_source.3.gz
/usr/share/man/man3/el_wdeletestr.3.gz
/usr/share/man/man3/el_wget.3.gz
/usr/share/man/man3/el_wgetc.3.gz
/usr/share/man/man3/el_wgets.3.gz
/usr/share/man/man3/el_winsertstr.3.gz
/usr/share/man/man3/el_wline.3.gz
/usr/share/man/man3/el_wparse.3.gz
/usr/share/man/man3/el_wpush.3.gz
/usr/share/man/man3/el_wset.3.gz
/usr/share/man/man3/history_end.3.gz
/usr/share/man/man3/history_init.3.gz
/usr/share/man/man3/history_w.3.gz
/usr/share/man/man3/history_wend.3.gz
/usr/share/man/man3/history_winit.3.gz
/usr/share/man/man3/tok_end.3.gz
/usr/share/man/man3/tok_init.3.gz
/usr/share/man/man3/tok_line.3.gz
/usr/share/man/man3/tok_reset.3.gz
/usr/share/man/man3/tok_str.3.gz
/usr/share/man/man3/tok_wend.3.gz
/usr/share/man/man3/tok_winit.3.gz
/usr/share/man/man3/tok_wline.3.gz
/usr/share/man/man3/tok_wreset.3.gz
/usr/share/man/man3/tok_wstr.3.gz
/usr/share/man/man7/editline.7.gz
/usr/include/editline
/usr/include/editline/readline.h
/usr/include/histedit.h
/usr/lib64/libedit.so
/usr/lib64/pkgconfig/libedit.pc
/usr/share/doc/libedit-devel
/usr/share/doc/libedit-devel/fileman.c
/usr/share/doc/libedit-devel/tc1.c
/usr/share/doc/libedit-devel/wtc1.c
/usr/share/man/man3/editline.3.gz
/usr/share/man/man3/el_deletestr.3.gz
/usr/share/man/man3/el_end.3.gz
/usr/share/man/man3/el_get.3.gz
/usr/share/man/man3/el_getc.3.gz
/usr/share/man/man3/el_gets.3.gz
/usr/share/man/man3/el_init.3.gz
/usr/share/man/man3/el_init_fd.3.gz
/usr/share/man/man3/el_insertstr.3.gz
/usr/share/man/man3/el_line.3.gz
/usr/share/man/man3/el_parse.3.gz
/usr/share/man/man3/el_push.3.gz
/usr/share/man/man3/el_reset.3.gz
/usr/share/man/man3/el_resize.3.gz
/usr/share/man/man3/el_set.3.gz
/usr/share/man/man3/el_source.3.gz
/usr/share/man/man3/el_wdeletestr.3.gz
/usr/share/man/man3/el_wget.3.gz
/usr/share/man/man3/el_wgetc.3.gz
/usr/share/man/man3/el_wgets.3.gz
/usr/share/man/man3/el_winsertstr.3.gz
/usr/share/man/man3/el_wline.3.gz
/usr/share/man/man3/el_wparse.3.gz
/usr/share/man/man3/el_wpush.3.gz
/usr/share/man/man3/el_wset.3.gz
/usr/share/man/man3/history_end.3.gz
/usr/share/man/man3/history_init.3.gz
/usr/share/man/man3/history_w.3.gz
/usr/share/man/man3/history_wend.3.gz
/usr/share/man/man3/history_winit.3.gz
/usr/share/man/man3/tok_end.3.gz
/usr/share/man/man3/tok_init.3.gz
/usr/share/man/man3/tok_line.3.gz
/usr/share/man/man3/tok_reset.3.gz
/usr/share/man/man3/tok_str.3.gz
/usr/share/man/man3/tok_wend.3.gz
/usr/share/man/man3/tok_winit.3.gz
/usr/share/man/man3/tok_wline.3.gz
/usr/share/man/man3/tok_wreset.3.gz
/usr/share/man/man3/tok_wstr.3.gz
/usr/share/man/man7/editline.7.gz

References

Summary

In this tutorial we learn how to install libedit-devel on Rocky Linux 8 using yum and dnf.