How To Install cld2 on Fedora 36

In this tutorial we learn how to install cld2 in Fedora 36. cld2 is A library to detect the natural language of text

Introduction

In this tutorial we learn how to install cld2 on Fedora 36.

What is cld2

A library that detects over 80 languages in UTF-8 text, based largely on groups of four letters. Also tables for 160+ language versions.

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

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

sudo dnf -y install cld2

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

sudo yum -y install cld2

How To Uninstall cld2 on Fedora 36

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

sudo dnf remove cld2

cld2 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/4b008b1d11a69aa17753c23d8097df4daccdca
/usr/lib/.build-id/67
/usr/lib/.build-id/67/411ab56a26b7ac4941772b5d6f72f24d8e0d68
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/5baec3ecd392fbc136ca930e151b45edf54f17
/usr/lib/libcld2.so.0
/usr/lib/libcld2.so.0.0.198
/usr/lib/libcld2_dynamic.so.0
/usr/lib/libcld2_dynamic.so.0.0.198
/usr/lib/libcld2_full.so.0
/usr/lib/libcld2_full.so.0.0.198
/usr/share/doc/cld2
/usr/share/doc/cld2/README.md
/usr/share/licenses/cld2
/usr/share/licenses/cld2/LICENSE

References

Summary

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


title: “How To Install cld2 on Fedora 36” linkTitle: “cld2” type: “docs” description: “In this tutorial we learn how to install cld2 in Fedora 36. cld2 is A library to detect the natural language of text” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/cld2-featured.png

Introduction

In this tutorial we learn how to install cld2 on Fedora 36.

What is cld2

A library that detects over 80 languages in UTF-8 text, based largely on groups of four letters. Also tables for 160+ language versions.

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

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

sudo dnf -y install cld2

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

sudo yum -y install cld2

How To Uninstall cld2 on Fedora 36

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

sudo dnf remove cld2

cld2 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/36
/usr/lib/.build-id/36/bcecb3282a02b20afb8b9ca1f7f919608e3721
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/1cf827db8eb027e388615421abb8672bd1e3b7
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/981dd0fb146a73621325f98da876483a4875de
/usr/lib64/libcld2.so.0
/usr/lib64/libcld2.so.0.0.198
/usr/lib64/libcld2_dynamic.so.0
/usr/lib64/libcld2_dynamic.so.0.0.198
/usr/lib64/libcld2_full.so.0
/usr/lib64/libcld2_full.so.0.0.198
/usr/share/doc/cld2
/usr/share/doc/cld2/README.md
/usr/share/licenses/cld2
/usr/share/licenses/cld2/LICENSE

References

Summary

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