How To Install diction on Fedora 36

In this tutorial we learn how to install diction in Fedora 36. diction is Identifies diction and style errors

Introduction

In this tutorial we learn how to install diction on Fedora 36.

What is diction

Diction and style are two old standard UNIX commands. Diction identifies wordy and commonly misused phrases. Style analyses surface characteristics of a document, including sentence length and other readability measures. These programs cannot help you structure a document well, but they can help to avoid poor wording and compare the readability (not the understandability!) of your documents with others. Both commands support English and German documents.

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

Install diction on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install diction

Install diction on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install diction using yum by running the following command:

sudo yum -y install diction

How To Uninstall diction on Fedora 36

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

sudo dnf remove diction

diction Package Contents on Fedora 36

/usr/bin/diction
/usr/bin/style
/usr/lib/.build-id
/usr/lib/.build-id/51
/usr/lib/.build-id/51/2446493dd5187e0800c8371c55e19f4581d777
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/ae05e3ef6323a54095306f863308158eb2d329
/usr/share/diction
/usr/share/diction/C
/usr/share/diction/de
/usr/share/diction/en
/usr/share/diction/en_GB
/usr/share/diction/nl
/usr/share/doc/diction
/usr/share/doc/diction/COPYING
/usr/share/doc/diction/NEWS
/usr/share/doc/diction/README
/usr/share/locale/de/LC_MESSAGES/diction.mo
/usr/share/locale/en_GB/LC_MESSAGES/diction.mo
/usr/share/locale/nl/LC_MESSAGES/diction.mo
/usr/share/man/man1/diction.1.gz
/usr/share/man/man1/style.1.gz

References

Summary

In this tutorial we learn how to install diction on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).