How To Install detox on Fedora 34

detox is Utility to replace problematic characters in file names

Introduction

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

What is detox

Detox is a utility designed to clean up file names. It replaces difficult to work with characters, such as spaces, with standard equivalents. It will also clean up file names with UTF-8 or Latin-1 (or CP-1252) characters in them.

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

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

sudo dnf -y install detox

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

sudo yum -y install detox

How To Uninstall detox on Fedora 34

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

sudo dnf remove detox

detox Package Contents on Fedora 34

/etc/detoxrc
/usr/bin/detox
/usr/bin/inline-detox
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/0fdf4ad50149f660889606c0e9931d4261faba
/usr/lib/.build-id/76
/usr/lib/.build-id/76/3734dd4d4c9ec9394778f2ccba1a4fe03f47cb
/usr/share/detox
/usr/share/detox/iso8859_1.tbl
/usr/share/detox/iso8859_1.tbl.sample
/usr/share/detox/safe.tbl
/usr/share/detox/safe.tbl.sample
/usr/share/detox/unicode.tbl
/usr/share/detox/unicode.tbl.sample
/usr/share/doc/detox
/usr/share/doc/detox/CHANGELOG.md
/usr/share/doc/detox/README.md
/usr/share/doc/detox/THANKS.md
/usr/share/licenses/detox
/usr/share/licenses/detox/LICENSE
/usr/share/man/man1/detox.1.gz
/usr/share/man/man1/inline-detox.1.gz
/usr/share/man/man5/detox.tbl.5.gz
/usr/share/man/man5/detoxrc.5.gz

References

Summary

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