How To Install librime on Fedora 34

librime is Rime Input Method Engine Library Rime Input Method Engine Library

Introduction

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

What is librime

Rime Input Method Engine Library Support for shape-based and phonetic-based input methods, including those for Chinese dialects. A selected dictionary in Traditional Chinese, powered by opencc for Simplified Chinese output. librime 1.7.2 1.fc34 x86_64 626 k librime-1.7.2-1.fc34.src.rpm updates Rime Input Method Engine Library https GPLv3 Rime Input Method Engine Library Support for shape-based and phonetic-based input methods, including those for Chinese dialects. A selected dictionary in Traditional Chinese, powered by opencc for Simplified Chinese output.

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

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

sudo dnf -y install librime

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

sudo yum -y install librime

How To Uninstall librime on Fedora 34

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

sudo dnf remove librime

librime Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/70
/usr/lib/.build-id/70/0becad6f41af345a8d242f9c5850296e162cf0
/usr/lib64/librime.so.1
/usr/lib64/librime.so.1.7.2
/usr/share/doc/librime
/usr/share/doc/librime/LICENSE
/usr/share/doc/librime/README.md
/usr/lib/.build-id
/usr/lib/.build-id/85
/usr/lib/.build-id/85/80a663cc1989684f868fd8851cbbed23135f4c
/usr/lib/librime.so.1
/usr/lib/librime.so.1.6.1
/usr/share/doc/librime
/usr/share/doc/librime/LICENSE
/usr/share/doc/librime/README.md
/usr/lib/.build-id
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/f1acccb99d98ea8aef33853e6499d45cb2c261
/usr/lib64/librime.so.1
/usr/lib64/librime.so.1.6.1
/usr/share/doc/librime
/usr/share/doc/librime/LICENSE
/usr/share/doc/librime/README.md
/usr/lib/.build-id
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/33623c833ad51191e854d13c0c773f9a242c52
/usr/lib/librime.so.1
/usr/lib/librime.so.1.7.2
/usr/share/doc/librime
/usr/share/doc/librime/LICENSE
/usr/share/doc/librime/README.md

References

Summary

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