How To Install pyzy on Fedora 34

pyzy is The Chinese PinYin and Bopomofo conversion library The Chinese PinYin and Bopomofo conversion library

Introduction

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

What is pyzy

The Chinese Pinyin and Bopomofo conversion library. pyzy 0.1.0 25.fc34 x86_64 208 k pyzy-0.1.0-25.fc34.src.rpm fedora The Chinese PinYin and Bopomofo conversion library http LGPLv2+ The Chinese Pinyin and Bopomofo conversion library.

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

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

sudo dnf -y install pyzy

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

sudo yum -y install pyzy

How To Uninstall pyzy on Fedora 34

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

sudo dnf remove pyzy

pyzy Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/64a9141af74257ee64a5e18cb9274e253fa202
/usr/lib/libpyzy-1.0.so.0
/usr/lib/libpyzy-1.0.so.0.100.0
/usr/share/doc/pyzy
/usr/share/doc/pyzy/AUTHORS
/usr/share/doc/pyzy/COPYING
/usr/share/doc/pyzy/README
/usr/share/pyzy
/usr/share/pyzy/db
/usr/share/pyzy/db/create_index.sql
/usr/share/pyzy/phrases.txt
/usr/lib/.build-id
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/777a4735d16c93901d75a230b7c4ae1eb6b723
/usr/lib64/libpyzy-1.0.so.0
/usr/lib64/libpyzy-1.0.so.0.100.0
/usr/share/doc/pyzy
/usr/share/doc/pyzy/AUTHORS
/usr/share/doc/pyzy/COPYING
/usr/share/doc/pyzy/README
/usr/share/pyzy
/usr/share/pyzy/db
/usr/share/pyzy/db/create_index.sql
/usr/share/pyzy/phrases.txt

References

Summary

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