How To Install libedit on Fedora 34

libedit is The NetBSD Editline library The NetBSD Editline library

Introduction

In this tutorial we learn how to install libedit on Fedora 34.

What is libedit

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. libedit 3.1 38.20210714cvs.fc34 x86_64 104 k libedit-3.1-38.20210714cvs.fc34.src.rpm updates The NetBSD Editline library https BSD 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 or dnf to install libedit on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libedit.

Install libedit on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libedit using dnf by running the following command:

sudo dnf -y install libedit

Install libedit on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libedit using yum by running the following command:

sudo yum -y install libedit

How To Uninstall libedit on Fedora 34

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

sudo dnf remove libedit

libedit Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/90
/usr/lib/.build-id/90/113774184e4bdfe8b1b09bd27aa9df200bb405
/usr/lib/libedit.so.0
/usr/lib/libedit.so.0.0.67
/usr/share/doc/libedit
/usr/share/doc/libedit/ChangeLog
/usr/share/doc/libedit/THANKS
/usr/share/licenses/libedit
/usr/share/licenses/libedit/COPYING
/usr/share/man/man5/editrc.5.gz
/usr/lib/.build-id
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/08151a4febed67b6abf61c888437b99b4892cd
/usr/lib64/libedit.so.0
/usr/lib64/libedit.so.0.0.64
/usr/share/doc/libedit
/usr/share/doc/libedit/ChangeLog
/usr/share/doc/libedit/THANKS
/usr/share/licenses/libedit
/usr/share/licenses/libedit/COPYING
/usr/share/man/man5/editrc.5.gz
/usr/lib/.build-id
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/0a24bba674d630300e5cf69f0ef9d7cbce2ec7
/usr/lib/libedit.so.0
/usr/lib/libedit.so.0.0.64
/usr/share/doc/libedit
/usr/share/doc/libedit/ChangeLog
/usr/share/doc/libedit/THANKS
/usr/share/licenses/libedit
/usr/share/licenses/libedit/COPYING
/usr/share/man/man5/editrc.5.gz
/usr/lib/.build-id
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/29111eca52670c6c81e8a1578aeadd59361121
/usr/lib64/libedit.so.0
/usr/lib64/libedit.so.0.0.67
/usr/share/doc/libedit
/usr/share/doc/libedit/ChangeLog
/usr/share/doc/libedit/THANKS
/usr/share/licenses/libedit
/usr/share/licenses/libedit/COPYING
/usr/share/man/man5/editrc.5.gz

References

Summary

In this tutorial we learn how to install libedit on Fedora 34 using yum and dnf.