How To Install ucommon on Fedora 36

In this tutorial we learn how to install ucommon in Fedora 36. ucommon is Portable C++ framework for threads and sockets

Introduction

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

What is ucommon

GNU uCommon C++ is a lightweight library to facilitate using C++ design patterns even for very deeply embedded applications, such as for systems using uclibc along with POSIX threading support. For this reason, uCommon disables language features that consume memory or introduce runtime overhead. UCommon introduces some design patterns from Objective-C, such as reference counted objects, memory pools, and smart pointers. UCommon introduces some new concepts for handling of thread locking and synchronization. Starting with release 5.0, GNU uCommon also bundles GNU Common C++ libraries.

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

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

sudo dnf -y install ucommon

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

sudo yum -y install ucommon

How To Uninstall ucommon on Fedora 36

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

sudo dnf remove ucommon

ucommon Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/e36173087cf2637ec53402168d0f88590ae703
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/c363e029d96d047fd52263d2b7abcdd625ab76
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/09dbb3e366ea8bb2900dcf35e3bc7e77b65980
/usr/lib64/libcommoncpp.so.8
/usr/lib64/libcommoncpp.so.8.0.0
/usr/lib64/libucommon.so.8
/usr/lib64/libucommon.so.8.0.0
/usr/lib64/libusecure.so.8
/usr/lib64/libusecure.so.8.0.0
/usr/share/doc/ucommon
/usr/share/doc/ucommon/AUTHORS
/usr/share/doc/ucommon/ChangeLog
/usr/share/doc/ucommon/NEWS
/usr/share/doc/ucommon/README
/usr/share/doc/ucommon/SUPPORT
/usr/share/licenses/ucommon
/usr/share/licenses/ucommon/COPYING
/usr/share/licenses/ucommon/COPYING.LESSER

References

Summary

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


title: “How To Install ucommon on Fedora 36” linkTitle: “ucommon” type: “docs” description: “In this tutorial we learn how to install ucommon in Fedora 36. ucommon is Portable C++ framework for threads and sockets” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/ucommon-featured.png

Introduction

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

What is ucommon

GNU uCommon C++ is a lightweight library to facilitate using C++ design patterns even for very deeply embedded applications, such as for systems using uclibc along with POSIX threading support. For this reason, uCommon disables language features that consume memory or introduce runtime overhead. UCommon introduces some design patterns from Objective-C, such as reference counted objects, memory pools, and smart pointers. UCommon introduces some new concepts for handling of thread locking and synchronization. Starting with release 5.0, GNU uCommon also bundles GNU Common C++ libraries.

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

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

sudo dnf -y install ucommon

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

sudo yum -y install ucommon

How To Uninstall ucommon on Fedora 36

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

sudo dnf remove ucommon

ucommon Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/50
/usr/lib/.build-id/50/73660a97397d3308e78346c87e152c65685bc6
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/46a54d55047f71de6f8336d6c4c412037f87e9
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/4306b69c7428a670eac37ea4158d2735102105
/usr/lib/libcommoncpp.so.8
/usr/lib/libcommoncpp.so.8.0.0
/usr/lib/libucommon.so.8
/usr/lib/libucommon.so.8.0.0
/usr/lib/libusecure.so.8
/usr/lib/libusecure.so.8.0.0
/usr/share/doc/ucommon
/usr/share/doc/ucommon/AUTHORS
/usr/share/doc/ucommon/ChangeLog
/usr/share/doc/ucommon/NEWS
/usr/share/doc/ucommon/README
/usr/share/doc/ucommon/SUPPORT
/usr/share/licenses/ucommon
/usr/share/licenses/ucommon/COPYING
/usr/share/licenses/ucommon/COPYING.LESSER

References

Summary

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