How To Install opencc on Fedora 34
Introduction
In this tutorial we learn how to install opencc
on Fedora 34.
What is opencc
OpenCC is a library for converting characters and phrases between Traditional Chinese and Simplified Chinese. opencc 1.1.1 2.fc34 x86_64 654 k opencc-1.1.1-2.fc34.src.rpm fedora Libraries for Simplified-Traditional Chinese Conversion https ASL 2.0 OpenCC is a library for converting characters and phrases between Traditional Chinese and Simplified Chinese.
We can use yum
or dnf
to install opencc
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install opencc.
Install opencc 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 opencc
using dnf
by running the following command:
sudo dnf -y install opencc
Install opencc 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 opencc
using yum
by running the following command:
sudo yum -y install opencc
How To Uninstall opencc on Fedora 34
To uninstall only the opencc
package we can use the following command:
sudo dnf remove opencc
opencc Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/830818496470c8af971d374b9e70fc14eca1ef
/usr/lib64/libopencc.so.1.1
/usr/lib64/libopencc.so.1.1.1
/usr/share/doc/opencc
/usr/share/doc/opencc/AUTHORS
/usr/share/doc/opencc/LICENSE
/usr/share/doc/opencc/README.md
/usr/share/opencc
/usr/share/opencc/HKVariants.ocd2
/usr/share/opencc/HKVariantsRev.ocd2
/usr/share/opencc/HKVariantsRevPhrases.ocd2
/usr/share/opencc/JPShinjitaiCharacters.ocd2
/usr/share/opencc/JPShinjitaiPhrases.ocd2
/usr/share/opencc/JPVariants.ocd2
/usr/share/opencc/JPVariantsRev.ocd2
/usr/share/opencc/STCharacters.ocd2
/usr/share/opencc/STPhrases.ocd2
/usr/share/opencc/TSCharacters.ocd2
/usr/share/opencc/TSPhrases.ocd2
/usr/share/opencc/TWPhrases.ocd2
/usr/share/opencc/TWPhrasesRev.ocd2
/usr/share/opencc/TWVariants.ocd2
/usr/share/opencc/TWVariantsRev.ocd2
/usr/share/opencc/TWVariantsRevPhrases.ocd2
/usr/share/opencc/hk2s.json
/usr/share/opencc/jp2t.json
/usr/share/opencc/s2hk.json
/usr/share/opencc/s2t.json
/usr/share/opencc/s2tw.json
/usr/share/opencc/s2twp.json
/usr/share/opencc/t2hk.json
/usr/share/opencc/t2jp.json
/usr/share/opencc/t2s.json
/usr/share/opencc/t2tw.json
/usr/share/opencc/tw2s.json
/usr/share/opencc/tw2sp.json
/usr/lib/.build-id
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/24c3e3bf827032a83e07a19dfd08815608d1d8
/usr/lib/libopencc.so.1.1
/usr/lib/libopencc.so.1.1.1
/usr/share/doc/opencc
/usr/share/doc/opencc/AUTHORS
/usr/share/doc/opencc/LICENSE
/usr/share/doc/opencc/README.md
/usr/share/opencc
/usr/share/opencc/HKVariants.ocd2
/usr/share/opencc/HKVariantsRev.ocd2
/usr/share/opencc/HKVariantsRevPhrases.ocd2
/usr/share/opencc/JPShinjitaiCharacters.ocd2
/usr/share/opencc/JPShinjitaiPhrases.ocd2
/usr/share/opencc/JPVariants.ocd2
/usr/share/opencc/JPVariantsRev.ocd2
/usr/share/opencc/STCharacters.ocd2
/usr/share/opencc/STPhrases.ocd2
/usr/share/opencc/TSCharacters.ocd2
/usr/share/opencc/TSPhrases.ocd2
/usr/share/opencc/TWPhrases.ocd2
/usr/share/opencc/TWPhrasesRev.ocd2
/usr/share/opencc/TWVariants.ocd2
/usr/share/opencc/TWVariantsRev.ocd2
/usr/share/opencc/TWVariantsRevPhrases.ocd2
/usr/share/opencc/hk2s.json
/usr/share/opencc/jp2t.json
/usr/share/opencc/s2hk.json
/usr/share/opencc/s2t.json
/usr/share/opencc/s2tw.json
/usr/share/opencc/s2twp.json
/usr/share/opencc/t2hk.json
/usr/share/opencc/t2jp.json
/usr/share/opencc/t2s.json
/usr/share/opencc/t2tw.json
/usr/share/opencc/tw2s.json
/usr/share/opencc/tw2sp.json
References
- [opencc website](https://github.com/BYVoid/OpenCC https://github.com/BYVoid/OpenCC)
Summary
In this tutorial we learn how to install opencc
on Fedora 34 using yum and dnf.