How To Install recode on Fedora 34

recode is Conversion between character sets and surfaces Conversion between character sets and surfaces

Introduction

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

What is recode

The recode tool and library convert files between character sets and surfaces. It recognizes or produces over 200 different character sets (or about 300 if combined with an iconv library) and transliterates files between almost any pair. When exact transliteration is not possible, it gets rid of the offending character or falls back on an approximations. recode 3.7.8 2.fc34 x86_64 472 k recode-3.7.8-2.fc34.src.rpm fedora Conversion between character sets and surfaces https GPLv3+ and LGPLv3+ and BSD and OFSFDL The recode tool and library convert files between character sets and surfaces. It recognizes or produces over 200 different character sets (or about 300 if combined with an iconv library) and transliterates files between almost any pair. When exact transliteration is not possible, it gets rid of the offending character or falls back on an approximations.

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

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

sudo dnf -y install recode

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

sudo yum -y install recode

How To Uninstall recode on Fedora 34

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

sudo dnf remove recode

recode Package Contents on Fedora 34

/usr/bin/recode
/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/ef45554cd7d4ca9f3d482904874ec0b711745c
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/c3cce6352f2966cd37808b5c4089eda3c8e90b
/usr/lib64/librecode.so.3
/usr/lib64/librecode.so.3.7.8
/usr/share/doc/recode
/usr/share/doc/recode/AUTHORS
/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/licenses/recode
/usr/share/licenses/recode/COPYING
/usr/share/licenses/recode/COPYING-LIB
/usr/share/locale/be/LC_MESSAGES/recode.mo
/usr/share/locale/ca/LC_MESSAGES/recode.mo
/usr/share/locale/cs/LC_MESSAGES/recode.mo
/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/eo/LC_MESSAGES/recode.mo
/usr/share/locale/es/LC_MESSAGES/recode.mo
/usr/share/locale/fi/LC_MESSAGES/recode.mo
/usr/share/locale/fr/LC_MESSAGES/recode.mo
/usr/share/locale/ga/LC_MESSAGES/recode.mo
/usr/share/locale/gl/LC_MESSAGES/recode.mo
/usr/share/locale/he/LC_MESSAGES/recode.mo
/usr/share/locale/hr/LC_MESSAGES/recode.mo
/usr/share/locale/hu/LC_MESSAGES/recode.mo
/usr/share/locale/id/LC_MESSAGES/recode.mo
/usr/share/locale/it/LC_MESSAGES/recode.mo
/usr/share/locale/nb/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/pt_BR/LC_MESSAGES/recode.mo
/usr/share/locale/ro/LC_MESSAGES/recode.mo
/usr/share/locale/ru/LC_MESSAGES/recode.mo
/usr/share/locale/sk/LC_MESSAGES/recode.mo
/usr/share/locale/sl/LC_MESSAGES/recode.mo
/usr/share/locale/sr/LC_MESSAGES/recode.mo
/usr/share/locale/sv/LC_MESSAGES/recode.mo
/usr/share/locale/tr/LC_MESSAGES/recode.mo
/usr/share/locale/uk/LC_MESSAGES/recode.mo
/usr/share/locale/vi/LC_MESSAGES/recode.mo
/usr/share/locale/zh_CN/LC_MESSAGES/recode.mo
/usr/share/man/man1/recode.1.gz
/usr/bin/recode
/usr/lib/.build-id
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/7b68dda86839677209d83d08a881c0de4efc0b
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/4282f67ee7353e98694432879011db8e727781
/usr/lib/librecode.so.3
/usr/lib/librecode.so.3.7.8
/usr/share/doc/recode
/usr/share/doc/recode/AUTHORS
/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/licenses/recode
/usr/share/licenses/recode/COPYING
/usr/share/licenses/recode/COPYING-LIB
/usr/share/locale/be/LC_MESSAGES/recode.mo
/usr/share/locale/ca/LC_MESSAGES/recode.mo
/usr/share/locale/cs/LC_MESSAGES/recode.mo
/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/eo/LC_MESSAGES/recode.mo
/usr/share/locale/es/LC_MESSAGES/recode.mo
/usr/share/locale/fi/LC_MESSAGES/recode.mo
/usr/share/locale/fr/LC_MESSAGES/recode.mo
/usr/share/locale/ga/LC_MESSAGES/recode.mo
/usr/share/locale/gl/LC_MESSAGES/recode.mo
/usr/share/locale/he/LC_MESSAGES/recode.mo
/usr/share/locale/hr/LC_MESSAGES/recode.mo
/usr/share/locale/hu/LC_MESSAGES/recode.mo
/usr/share/locale/id/LC_MESSAGES/recode.mo
/usr/share/locale/it/LC_MESSAGES/recode.mo
/usr/share/locale/nb/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/pt_BR/LC_MESSAGES/recode.mo
/usr/share/locale/ro/LC_MESSAGES/recode.mo
/usr/share/locale/ru/LC_MESSAGES/recode.mo
/usr/share/locale/sk/LC_MESSAGES/recode.mo
/usr/share/locale/sl/LC_MESSAGES/recode.mo
/usr/share/locale/sr/LC_MESSAGES/recode.mo
/usr/share/locale/sv/LC_MESSAGES/recode.mo
/usr/share/locale/tr/LC_MESSAGES/recode.mo
/usr/share/locale/uk/LC_MESSAGES/recode.mo
/usr/share/locale/vi/LC_MESSAGES/recode.mo
/usr/share/locale/zh_CN/LC_MESSAGES/recode.mo
/usr/share/man/man1/recode.1.gz

References

Summary

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