How To Install sentencepiece-tools on Fedora 36
Introduction
In this tutorial we learn how to install sentencepiece-tools
on Fedora 36.
What is sentencepiece-tools
This package contains tools for manipulate models for SentencePiece.
We can use yum
or dnf
to install sentencepiece-tools
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install sentencepiece-tools.
Install sentencepiece-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 sentencepiece-tools
using dnf
by running the following command:
sudo dnf -y install sentencepiece-tools
Install sentencepiece-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 sentencepiece-tools
using yum
by running the following command:
sudo yum -y install sentencepiece-tools
How To Uninstall sentencepiece-tools on Fedora 36
To uninstall only the sentencepiece-tools
package we can use the following command:
sudo dnf remove sentencepiece-tools
sentencepiece-tools Package Contents on Fedora 36
/usr/bin/spm_decode
/usr/bin/spm_encode
/usr/bin/spm_export_vocab
/usr/bin/spm_normalize
/usr/bin/spm_train
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/4342e3290b295ed99f12005e0282cd053dfac0
/usr/lib/.build-id/22
/usr/lib/.build-id/22/ed5b463d1bb0d8f94e0e17b3748cbb4cfa2bf2
/usr/lib/.build-id/84
/usr/lib/.build-id/84/170745204734f7c70baf116fd99678a0f903e0
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/cd212fc1c37b1e750871be5d75d52416d5fde0
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/b4faea809bdfb6e3c16adfa5c2ba662908a935
References
Summary
In this tutorial we learn how to install sentencepiece-tools
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).