How To Install diction on Fedora 34

diction is Identifies diction and style errors

Introduction

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

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 34. In this tutorial we discuss both methods but you only need to choose one of method to install diction.

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

sudo dnf -y install diction

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

sudo yum -y install diction

How To Uninstall diction on Fedora 34

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

sudo dnf remove diction

diction Package Contents on Fedora 34

/usr/bin/diction
/usr/bin/style
/usr/lib/.build-id
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/c563ad5c75803d18ab3691a7cb2da3b17dd2e8
/usr/lib/.build-id/62
/usr/lib/.build-id/62/3290ccb87967389d3f7cd4a4cf3e467e089fcd
/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 34 using yum and dnf.