How To Install utrac on Fedora 36

In this tutorial we learn how to install utrac in Fedora 36. utrac is Universal Text Recognizer and Converter

Introduction

In this tutorial we learn how to install utrac on Fedora 36.

What is utrac

Utrac is a command line tool and a library that recognize the encoding of an input file (ex type (CR, LF, CRLF). It has three main features - Automatic recognition (depending on the file and on the system’s locale), reliable in most cases; - Assistance for verification or manual recognition; - Conversion to an other charset and/or end-of-line type.

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

Install utrac on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install utrac using dnf by running the following command:

sudo dnf -y install utrac

Install utrac on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install utrac using yum by running the following command:

sudo yum -y install utrac

How To Uninstall utrac on Fedora 36

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

sudo dnf remove utrac

utrac Package Contents on Fedora 36

/usr/bin/utrac
/usr/lib/.build-id
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/d96fd56738b841310fc6bc620780ae93adc344
/usr/share/doc/utrac
/usr/share/doc/utrac/CHANGES
/usr/share/doc/utrac/COPYING
/usr/share/doc/utrac/README
/usr/share/doc/utrac/TODO
/usr/share/man/man1/utrac.1.gz
/usr/share/utrac
/usr/share/utrac/charsets.dat

References

Summary

In this tutorial we learn how to install utrac on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).