How To Install enca on Fedora 34

enca is Character set analyzer and detector Character set analyzer and detector

Introduction

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

What is enca

Enca is an Extremely Naive Charset Analyser. It detects character set and encoding of text files and can also convert them to other encodings using either a built-in converter or external libraries and tools like libiconv, librecode, or cstocs. Currently, it has support for Belarussian, Bulgarian, Croatian, Czech, Estonian, Latvian, Lithuanian, Polish, Russian, Slovak, Slovene, Ukrainian, Chinese and some multibyte encodings (mostly variants of Unicode) independent on the language. This package also contains shared Enca library other programs can make use of. Install enca if you need to cope with text files of dubious origin and unknown encoding and convert them to some reasonable encoding. enca 1.19 7.fc34 x86_64 118 k enca-1.19-7.fc34.src.rpm fedora Character set analyzer and detector http GPLv2 Enca is an Extremely Naive Charset Analyser. It detects character set and encoding of text files and can also convert them to other encodings using either a built-in converter or external libraries and tools like libiconv, librecode, or cstocs. Currently, it has support for Belarussian, Bulgarian, Croatian, Czech, Estonian, Latvian, Lithuanian, Polish, Russian, Slovak, Slovene, Ukrainian, Chinese and some multibyte encodings (mostly variants of Unicode) independent on the language. This package also contains shared Enca library other programs can make use of. Install enca if you need to cope with text files of dubious origin and unknown encoding and convert them to some reasonable encoding.

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

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

sudo dnf -y install enca

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

sudo yum -y install enca

How To Uninstall enca on Fedora 34

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

sudo dnf remove enca

enca Package Contents on Fedora 34

/usr/bin/enca
/usr/bin/enconv
/usr/lib/.build-id
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/c16c1afd682c3e585f61fd5621e0162b17a2d2
/usr/lib/.build-id/df
/usr/lib/.build-id/df/e0d44a57e03d0e22421e62ce14c2ee6605487d
/usr/lib/libenca.so.0
/usr/lib/libenca.so.0.5.1
/usr/share/doc/enca
/usr/share/doc/enca/AUTHORS
/usr/share/doc/enca/COPYING
/usr/share/doc/enca/FAQ
/usr/share/doc/enca/README
/usr/share/doc/enca/THANKS
/usr/share/doc/enca/TODO
/usr/share/man/man1/enca.1.gz
/usr/share/man/man1/enconv.1.gz
/usr/bin/enca
/usr/bin/enconv
/usr/lib/.build-id
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/e1309ff2f196061e1dd6d58c292fa534631f2f
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/5c93f2cdb10c6877cec38dc30219e33d6c36dc
/usr/lib64/libenca.so.0
/usr/lib64/libenca.so.0.5.1
/usr/share/doc/enca
/usr/share/doc/enca/AUTHORS
/usr/share/doc/enca/COPYING
/usr/share/doc/enca/FAQ
/usr/share/doc/enca/README
/usr/share/doc/enca/THANKS
/usr/share/doc/enca/TODO
/usr/share/man/man1/enca.1.gz
/usr/share/man/man1/enconv.1.gz

References

Summary

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