How To Install rlwrap on Fedora 34
Introduction
In this tutorial we learn how to install rlwrap
on Fedora 34.
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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install rlwrap.
Install rlwrap 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 rlwrap
using dnf
by running the following command:
sudo dnf -y install rlwrap
Install rlwrap 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 rlwrap
using yum
by running the following command:
sudo yum -y install rlwrap
How To Uninstall rlwrap on Fedora 34
To uninstall only the rlwrap
package we can use the following command:
sudo dnf remove rlwrap
rlwrap Package Contents on Fedora 34
/usr/bin/rlwrap
/usr/lib/.build-id
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/a9df1819802395c57f07b6fc459acf4102a302
/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 Fedora 34 using yum and dnf.