How To Install recode on Rocky Linux 8

In this tutorial we learn how to install recode on Rocky Linux 8. recode is Conversion between character sets and surfaces

Introduction

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

What is recode

The `recode’ converts files between character sets and usages. It recognizes or produces nearly 150 different character sets and is able to transliterate files between almost any pair. When exact transliteration are not possible, it may get rid of the offending characters or fall back on approximations. Most RFC 1345 character sets are supported.

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

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

sudo dnf -y install recode

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

sudo yum -y install recode

How To Uninstall recode on Rocky Linux 8

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

sudo dnf remove recode

recode Package Contents on Rocky Linux 8

/usr/bin/recode
/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/b6c7740f8d23fe518328e545b00ac1323e3e23
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/0f5c6897c47780bfd48931cf5acda5e62f1a52
/usr/lib/librecode.so.0
/usr/lib/librecode.so.0.0.0
/usr/share/doc/recode
/usr/share/doc/recode/AUTHORS
/usr/share/doc/recode/COPYING
/usr/share/doc/recode/COPYING-LIB
/usr/share/doc/recode/ChangeLog
/usr/share/doc/recode/NEWS
/usr/share/doc/recode/README
/usr/share/doc/recode/THANKS
/usr/share/doc/recode/TODO
/usr/share/info/recode.info.gz
/usr/share/locale/da/LC_MESSAGES/recode.mo
/usr/share/locale/de/LC_MESSAGES/recode.mo
/usr/share/locale/el/LC_MESSAGES/recode.mo
/usr/share/locale/es/LC_MESSAGES/recode.mo
/usr/share/locale/fr/LC_MESSAGES/recode.mo
/usr/share/locale/gl/LC_MESSAGES/recode.mo
/usr/share/locale/it/LC_MESSAGES/recode.mo
/usr/share/locale/nl/LC_MESSAGES/recode.mo
/usr/share/locale/pl/LC_MESSAGES/recode.mo
/usr/share/locale/pt/LC_MESSAGES/recode.mo
/usr/share/locale/sl/LC_MESSAGES/recode.mo
/usr/share/locale/sv/LC_MESSAGES/recode.mo
/usr/share/man/man1/recode.1.gz
/usr/bin/recode
/usr/lib/.build-id
/usr/lib/.build-id/58
/usr/lib/.build-id/58/3c57b6644878329c06d27bc48ee0e96b4fe847
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/8b9d062097481a3ba9d3b15c13ee2f19918a18
/usr/lib64/librecode.so.0
/usr/lib64/librecode.so.0.0.0
/usr/share/doc/recode
/usr/share/doc/recode/AUTHORS
/usr/share/doc/recode/COPYING
/usr/share/doc/recode/COPYING-LIB
/usr/share/doc/recode/ChangeLog
/usr/share/doc/recode/NEWS
/usr/share/doc/recode/README
/usr/share/doc/recode/THANKS
/usr/share/doc/recode/TODO
/usr/share/info/recode.info.gz
/usr/share/locale/da/LC_MESSAGES/recode.mo
/usr/share/locale/de/LC_MESSAGES/recode.mo
/usr/share/locale/el/LC_MESSAGES/recode.mo
/usr/share/locale/es/LC_MESSAGES/recode.mo
/usr/share/locale/fr/LC_MESSAGES/recode.mo
/usr/share/locale/gl/LC_MESSAGES/recode.mo
/usr/share/locale/it/LC_MESSAGES/recode.mo
/usr/share/locale/nl/LC_MESSAGES/recode.mo
/usr/share/locale/pl/LC_MESSAGES/recode.mo
/usr/share/locale/pt/LC_MESSAGES/recode.mo
/usr/share/locale/sl/LC_MESSAGES/recode.mo
/usr/share/locale/sv/LC_MESSAGES/recode.mo
/usr/share/man/man1/recode.1.gz

References

Summary

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