How To Install autocorr-zh on Rocky Linux 8

In this tutorial we learn how to install autocorr-zh on Rocky Linux 8. autocorr-zh is Chinese auto-correction rules

Introduction

In this tutorial we learn how to install autocorr-zh on Rocky Linux 8.

What is autocorr-zh

Rules for auto-correcting common Chinese typing errors.

We can use yum or dnf to install autocorr-zh on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install autocorr-zh.

Install autocorr-zh on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install autocorr-zh using dnf by running the following command:

sudo dnf -y install autocorr-zh

Install autocorr-zh on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install autocorr-zh using yum by running the following command:

sudo yum -y install autocorr-zh

How To Uninstall autocorr-zh on Rocky Linux 8

To uninstall only the autocorr-zh package we can use the following command:

sudo dnf remove autocorr-zh

autocorr-zh Package Contents on Rocky Linux 8

/usr/share/autocorr
/usr/share/autocorr/acor_zh-CN.dat
/usr/share/autocorr/acor_zh-TW.dat
/usr/share/doc/autocorr-zh
/usr/share/doc/autocorr-zh/LICENSE

References

Summary

In this tutorial we learn how to install autocorr-zh on Rocky Linux 8 using yum and dnf.