How To Install clthreads on Fedora 34

clthreads is POSIX threads C++ access library POSIX threads C++ access library

Introduction

In this tutorial we learn how to install clthreads on Fedora 34.

What is clthreads

Clthreads is a C++ wrapper library around the POSIX threads API. clthreads 2.4.2 4.fc34 x86_64 29 k clthreads-2.4.2-4.fc34.src.rpm fedora POSIX threads C++ access library http LGPLv2+ Clthreads is a C++ wrapper library around the POSIX threads API.

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

Install clthreads on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install clthreads

Install clthreads on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install clthreads using yum by running the following command:

sudo yum -y install clthreads

How To Uninstall clthreads on Fedora 34

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

sudo dnf remove clthreads

clthreads Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/b6dee59f02fe9cd339ac6bd537446ab0db2b65
/usr/lib/libclthreads.so.2
/usr/lib/libclthreads.so.2.4.2
/usr/share/doc/clthreads
/usr/share/doc/clthreads/AUTHORS
/usr/share/licenses/clthreads
/usr/share/licenses/clthreads/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/16158db89d75819fd660e40cf56961dc6e9dca
/usr/lib64/libclthreads.so.2
/usr/lib64/libclthreads.so.2.4.2
/usr/share/doc/clthreads
/usr/share/doc/clthreads/AUTHORS
/usr/share/licenses/clthreads
/usr/share/licenses/clthreads/COPYING

References

Summary

In this tutorial we learn how to install clthreads on Fedora 34 using yum and dnf.