How To Install opencc-tools on Fedora 36

In this tutorial we learn how to install opencc-tools in Fedora 36. opencc-tools is Command line tools for OpenCC

Introduction

In this tutorial we learn how to install opencc-tools on Fedora 36.

What is opencc-tools

Command line tools for OpenCC, including tools for conversion via CLI and for building dictionaries.

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

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

sudo dnf -y install opencc-tools

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

sudo yum -y install opencc-tools

How To Uninstall opencc-tools on Fedora 36

To uninstall only the opencc-tools package we can use the following command:

sudo dnf remove opencc-tools

opencc-tools Package Contents on Fedora 36

/usr/bin/opencc
/usr/bin/opencc_dict
/usr/bin/opencc_phrase_extract
/usr/lib/.build-id
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/a84fe996d12c2f24729c0fea5bd4b1e294150b
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/69cf9030dc9d61192caede5e2a37e84d157f3c
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/d9418921deefd957b3064f64fa3f3524f2f561

References

Summary

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