How To Install sentencepiece-libs on Fedora 36

In this tutorial we learn how to install sentencepiece-libs in Fedora 36. sentencepiece-libs is Runtime libraries for SentencePiece

Introduction

In this tutorial we learn how to install sentencepiece-libs on Fedora 36.

What is sentencepiece-libs

This package contains the libraries for SentencePiece.

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

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

sudo dnf -y install sentencepiece-libs

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

sudo yum -y install sentencepiece-libs

How To Uninstall sentencepiece-libs on Fedora 36

To uninstall only the sentencepiece-libs package we can use the following command:

sudo dnf remove sentencepiece-libs

sentencepiece-libs Package Contents on Fedora 36

---
title: "How To Install sentencepiece-libs on Fedora 36"
linkTitle: "sentencepiece-libs"
type: "docs"
description: "In this tutorial we learn how to install sentencepiece-libs in Fedora 36. sentencepiece-libs is Runtime libraries for SentencePiece"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/sentencepiece-libs-featured.png
---

## Introduction

In this tutorial we learn how to install `sentencepiece-libs` on Fedora 36.

### What is `sentencepiece-libs`

> This package contains the libraries for SentencePiece.  

/usr/lib/.build-id
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/924de81405e7e453401c50907a8d32284170cb
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/f42b21ff1a4a551b082f268237185c94561054
/usr/lib64/libsentencepiece.so.0
/usr/lib64/libsentencepiece.so.0.0.0
/usr/lib64/libsentencepiece_train.so.0
/usr/lib64/libsentencepiece_train.so.0.0.0
/usr/share/doc/sentencepiece-libs
/usr/share/doc/sentencepiece-libs/README.md
/usr/share/licenses/sentencepiece-libs
/usr/share/licenses/sentencepiece-libs/LICENSE
We can use `yum` or `dnf` to install `sentencepiece-libs` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install sentencepiece-libs.

## Install sentencepiece-libs on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

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

sudo dnf -y install sentencepiece-libs

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

sudo yum -y install sentencepiece-libs

How To Uninstall sentencepiece-libs on Fedora 36

To uninstall only the sentencepiece-libs package we can use the following command:

sudo dnf remove sentencepiece-libs

## References

* [sentencepiece-libs website](https://github.com/google/sentencepiece)

## Summary

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

## sentencepiece-libs Package Contents on Fedora 36

```bash
/usr/lib/.build-id
/usr/lib/.build-id/44
/usr/lib/.build-id/44/482c66d4bc31ae88c874e9ada807fdbc0c23df
/usr/lib/.build-id/83
/usr/lib/.build-id/83/92b4a2af578e5198cebcd51451371f4f85746e
/usr/lib/libsentencepiece.so.0
/usr/lib/libsentencepiece.so.0.0.0
/usr/lib/libsentencepiece_train.so.0
/usr/lib/libsentencepiece_train.so.0.0.0
/usr/share/doc/sentencepiece-libs
/usr/share/doc/sentencepiece-libs/README.md
/usr/share/licenses/sentencepiece-libs
/usr/share/licenses/sentencepiece-libs/LICENSE

References

Summary

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