How To Install opengrm-ngram-tools on Fedora 36

In this tutorial we learn how to install opengrm-ngram-tools in Fedora 36. opengrm-ngram-tools is Command-line tools for working with n-gram language models

Introduction

In this tutorial we learn how to install opengrm-ngram-tools on Fedora 36.

What is opengrm-ngram-tools

This package contains command-line tools that give access to OpenGrm NGram library functionality.

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

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

sudo dnf -y install opengrm-ngram-tools

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

sudo yum -y install opengrm-ngram-tools

How To Uninstall opengrm-ngram-tools on Fedora 36

To uninstall only the opengrm-ngram-tools package we can use the following command:

sudo dnf remove opengrm-ngram-tools

opengrm-ngram-tools Package Contents on Fedora 36

/usr/bin/ngramapply
/usr/bin/ngramcontext
/usr/bin/ngramcount
/usr/bin/ngramhisttest
/usr/bin/ngraminfo
/usr/bin/ngrammake
/usr/bin/ngrammarginalize
/usr/bin/ngrammerge
/usr/bin/ngramperplexity
/usr/bin/ngramprint
/usr/bin/ngramrandgen
/usr/bin/ngramrandtest
/usr/bin/ngramread
/usr/bin/ngramshrink
/usr/bin/ngramsort
/usr/bin/ngramsplit
/usr/bin/ngramsymbols
/usr/bin/ngramtransfer
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/edd2260cb044c45c0b1b1ce78b5cdc03e37454
/usr/lib/.build-id/14
/usr/lib/.build-id/14/fc9988b54d10c84bc739245adf36c800b2f2c0
/usr/lib/.build-id/22
/usr/lib/.build-id/22/38411af9adc4761149cd85c360dc5ad3d2487f
/usr/lib/.build-id/41
/usr/lib/.build-id/41/b9c9b3f5439c683e62a3de4a1455141dd7447e
/usr/lib/.build-id/51
/usr/lib/.build-id/51/b3e1f41d92e5a52f784f816872a768653fc613
/usr/lib/.build-id/62/f0dc93c23d1b1c6655080b324ccd5a08b1728d
/usr/lib/.build-id/73
/usr/lib/.build-id/73/d3a37ac56b43d0731699a0fbf515b91f40a0e7
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/e3c69fb640cc2d640bc99d1bae4c32b0a3c679
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/a233322d1db72820279c2dcf749c406411562e
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/3747509598371e8761928f42120fda55ec46c7
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/0b4dd888c57ed60b3cb53012c0aa4156caaf55
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/157d3d64e8d97067403ebfb2e76ad97e30dfc9
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/00768cd5ec4e91a1e76a14c35201d8df92bf2f
/usr/lib/.build-id/de
/usr/lib/.build-id/de/fdff643a08cd1cfe454ac35feaccfcdd39f964
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/df1dab6d611df8068619769cb21c2a8f601bae
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/9610746f205969ac968cd8008086dcfc98b30c
/usr/lib/.build-id/e7/cd46298526d1bb4358716c913a8bff757f6402
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/a9c2a957c415c536d933acd9d23596ca759a4f
/usr/share/man/man1/ngramapply.1.gz
/usr/share/man/man1/ngramcontext.1.gz
/usr/share/man/man1/ngramcount.1.gz
/usr/share/man/man1/ngramhisttest.1.gz
/usr/share/man/man1/ngraminfo.1.gz
/usr/share/man/man1/ngrammake.1.gz
/usr/share/man/man1/ngrammarginalize.1.gz
/usr/share/man/man1/ngrammerge.1.gz
/usr/share/man/man1/ngramperplexity.1.gz
/usr/share/man/man1/ngramprint.1.gz
/usr/share/man/man1/ngramrandgen.1.gz
/usr/share/man/man1/ngramrandtest.1.gz
/usr/share/man/man1/ngramread.1.gz
/usr/share/man/man1/ngramshrink.1.gz
/usr/share/man/man1/ngramsort.1.gz
/usr/share/man/man1/ngramsplit.1.gz
/usr/share/man/man1/ngramsymbols.1.gz
/usr/share/man/man1/ngramtransfer.1.gz

References

Summary

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