How To Install opengrm-ngram on Fedora 36
Introduction
In this tutorial we learn how to install opengrm-ngram
on Fedora 36.
What is opengrm-ngram
The OpenGrm NGram library is used for making and modifying n-gram language models encoded as weighted finite-state transducers (FSTs). It makes use of functionality in the OpenFst library to create, access and manipulate n-gram models. Operations for counting, smoothing, pruning, applying, and evaluating models are among those provided.
We can use yum
or dnf
to install opengrm-ngram
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install opengrm-ngram.
Install opengrm-ngram 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
using dnf
by running the following command:
sudo dnf -y install opengrm-ngram
Install opengrm-ngram 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
using yum
by running the following command:
sudo yum -y install opengrm-ngram
How To Uninstall opengrm-ngram on Fedora 36
To uninstall only the opengrm-ngram
package we can use the following command:
sudo dnf remove opengrm-ngram
opengrm-ngram Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/39de3e7b82bf1f0f58bedcb2008ef3f9b7ceef
/usr/lib/.build-id/62
/usr/lib/.build-id/62/50df87de87594b92b4e5bef086849554f7067a
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/781fca4f927641df120a996f23821664763221
/usr/lib64/hist-arc.so.0
/usr/lib64/hist-arc.so.0.0.0
/usr/lib64/libngram.so.1313
/usr/lib64/libngram.so.1313.0.0
/usr/lib64/libngramhist.so.1313
/usr/lib64/libngramhist.so.1313.0.0
/usr/share/doc/opengrm-ngram
/usr/share/doc/opengrm-ngram/AUTHORS
/usr/share/doc/opengrm-ngram/NEWS
/usr/share/doc/opengrm-ngram/README
/usr/share/licenses/opengrm-ngram
/usr/share/licenses/opengrm-ngram/COPYING
References
Summary
In this tutorial we learn how to install opengrm-ngram
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
title: “How To Install opengrm-ngram on Fedora 36” linkTitle: “opengrm-ngram” type: “docs” description: “In this tutorial we learn how to install opengrm-ngram in Fedora 36. opengrm-ngram is Library for making and modifying n-gram language models” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/opengrm-ngram-featured.png
Introduction
In this tutorial we learn how to install opengrm-ngram
on Fedora 36.
What is opengrm-ngram
The OpenGrm NGram library is used for making and modifying n-gram language models encoded as weighted finite-state transducers (FSTs). It makes use of functionality in the OpenFst library to create, access and manipulate n-gram models. Operations for counting, smoothing, pruning, applying, and evaluating models are among those provided.
We can use yum
or dnf
to install opengrm-ngram
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install opengrm-ngram.
Install opengrm-ngram 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
using dnf
by running the following command:
sudo dnf -y install opengrm-ngram
Install opengrm-ngram 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
using yum
by running the following command:
sudo yum -y install opengrm-ngram
How To Uninstall opengrm-ngram on Fedora 36
To uninstall only the opengrm-ngram
package we can use the following command:
sudo dnf remove opengrm-ngram
opengrm-ngram Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/54
/usr/lib/.build-id/54/917a7f6693977411f323302133c7c2607827b9
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/98d8414b5679a0ec1c4c5297aa62397aebfbeb
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/395325a7022556d8ced7214ab782e0f7149e19
/usr/lib/hist-arc.so.0
/usr/lib/hist-arc.so.0.0.0
/usr/lib/libngram.so.1313
/usr/lib/libngram.so.1313.0.0
/usr/lib/libngramhist.so.1313
/usr/lib/libngramhist.so.1313.0.0
/usr/share/doc/opengrm-ngram
/usr/share/doc/opengrm-ngram/AUTHORS
/usr/share/doc/opengrm-ngram/NEWS
/usr/share/doc/opengrm-ngram/README
/usr/share/licenses/opengrm-ngram
/usr/share/licenses/opengrm-ngram/COPYING
References
Summary
In this tutorial we learn how to install opengrm-ngram
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).