How To Install rlwrap on Rocky Linux 8

In this tutorial we learn how to install rlwrap on Rocky Linux 8. rlwrap is Wrapper for GNU readline

Introduction

In this tutorial we learn how to install rlwrap on Rocky Linux 8.

What is rlwrap

rlwrap is a ‘readline wrapper’ that uses the GNU readline library to allow the editing of keyboard input for any other command. Input history is remembered across invocations, separately for each command; history completion and search work as in bash and completion word lists can be specified on the command line.

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

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

sudo dnf -y install rlwrap

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

sudo yum -y install rlwrap

How To Uninstall rlwrap on Rocky Linux 8

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

sudo dnf remove rlwrap

rlwrap Package Contents on Rocky Linux 8

/usr/bin/rlwrap
/usr/lib/.build-id
/usr/lib/.build-id/69
/usr/lib/.build-id/69/9bcd862372cb23e081bce1d8d4b71e705eca03
/usr/share/doc/rlwrap
/usr/share/doc/rlwrap/AUTHORS
/usr/share/doc/rlwrap/NEWS
/usr/share/doc/rlwrap/README.md
/usr/share/licenses/rlwrap
/usr/share/licenses/rlwrap/COPYING
/usr/share/man/man1/rlwrap.1.gz
/usr/share/man/man3/RlwrapFilter.3pm.gz
/usr/share/rlwrap
/usr/share/rlwrap/completions
/usr/share/rlwrap/completions/coqtop
/usr/share/rlwrap/completions/testclient
/usr/share/rlwrap/filters
/usr/share/rlwrap/filters/README
/usr/share/rlwrap/filters/RlwrapFilter.3pm
/usr/share/rlwrap/filters/RlwrapFilter.pm
/usr/share/rlwrap/filters/censor_passwords
/usr/share/rlwrap/filters/censor_passwords.py
/usr/share/rlwrap/filters/count_in_prompt
/usr/share/rlwrap/filters/count_in_prompt.py
/usr/share/rlwrap/filters/debug_null
/usr/share/rlwrap/filters/ftp_filter
/usr/share/rlwrap/filters/ftp_filter.py
/usr/share/rlwrap/filters/handle_hotkeys
/usr/share/rlwrap/filters/handle_hotkeys.py
/usr/share/rlwrap/filters/handle_sigwinch.py
/usr/share/rlwrap/filters/history_format
/usr/share/rlwrap/filters/listing
/usr/share/rlwrap/filters/logger
/usr/share/rlwrap/filters/logger.py
/usr/share/rlwrap/filters/null
/usr/share/rlwrap/filters/null.py
/usr/share/rlwrap/filters/outfilter
/usr/share/rlwrap/filters/paint_prompt
/usr/share/rlwrap/filters/paint_prompt.py
/usr/share/rlwrap/filters/pipeline
/usr/share/rlwrap/filters/pipeto
/usr/share/rlwrap/filters/pipeto.py
/usr/share/rlwrap/filters/rlwrapfilter.py
/usr/share/rlwrap/filters/scrub_prompt
/usr/share/rlwrap/filters/simple_macro
/usr/share/rlwrap/filters/template
/usr/share/rlwrap/filters/unbackspace

References

Summary

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