How To Install libpinyin on Fedora 34
Introduction
In this tutorial we learn how to install libpinyin
on Fedora 34.
What is libpinyin
The libpinyin project aims to provide the algorithms core for intelligent sentence-based Chinese pinyin input methods. libpinyin 2.6.0 2.fc34 x86_64 206 k libpinyin-2.6.0-2.fc34.src.rpm fedora Library to deal with pinyin https GPLv3+ The libpinyin project aims to provide the algorithms core for intelligent sentence-based Chinese pinyin input methods.
We can use yum
or dnf
to install libpinyin
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libpinyin.
Install libpinyin 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 libpinyin
using dnf
by running the following command:
sudo dnf -y install libpinyin
Install libpinyin 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 libpinyin
using yum
by running the following command:
sudo yum -y install libpinyin
How To Uninstall libpinyin on Fedora 34
To uninstall only the libpinyin
package we can use the following command:
sudo dnf remove libpinyin
libpinyin Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/a07a056c470134ef81b1a02f47046f092c8951
/usr/lib/libpinyin
/usr/lib/libpinyin.so.13
/usr/lib/libpinyin.so.13.0.0
/usr/share/doc/libpinyin
/usr/share/doc/libpinyin/AUTHORS
/usr/share/doc/libpinyin/COPYING
/usr/share/doc/libpinyin/README
/usr/lib/.build-id
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/767a9a8cd3f983c8a5160381200bcc78dffac1
/usr/lib64/libpinyin
/usr/lib64/libpinyin.so.13
/usr/lib64/libpinyin.so.13.0.0
/usr/share/doc/libpinyin
/usr/share/doc/libpinyin/AUTHORS
/usr/share/doc/libpinyin/COPYING
/usr/share/doc/libpinyin/README
References
- [libpinyin website](https://github.com/libpinyin/libpinyin https://github.com/libpinyin/libpinyin)
Summary
In this tutorial we learn how to install libpinyin
on Fedora 34 using yum and dnf.