How To Install ucommon on Fedora 34
Introduction
In this tutorial we learn how to install ucommon
on Fedora 34.
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. ucommon 7.0.0 16.fc34 x86_64 333 k ucommon-7.0.0-16.fc34.src.rpm fedora Portable C++ framework for threads and sockets http LGPLv3+ 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install ucommon.
Install ucommon 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 ucommon
using dnf
by running the following command:
sudo dnf -y install ucommon
Install ucommon 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 ucommon
using yum
by running the following command:
sudo yum -y install ucommon
How To Uninstall ucommon on Fedora 34
To uninstall only the ucommon
package we can use the following command:
sudo dnf remove ucommon
ucommon Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/5b0159186a42161b5a58d0cea97fd5144365f8
/usr/lib/.build-id/81
/usr/lib/.build-id/81/02ddfd195f6b316b209e875341fe072d76ca65
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/0eb9c67fcbb4d10510f09f183ce48b6f9d076d
/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
/usr/lib/.build-id
/usr/lib/.build-id/58
/usr/lib/.build-id/58/070b90c1dbea55408495bcfb001c173a1b23a0
/usr/lib/.build-id/82
/usr/lib/.build-id/82/c76330f04c4b7093961d10026e4b8a7271d0e6
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/897b739adba8a523df46fbba29abde4135bdd3
/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
- [ucommon website](http://www.gnu.org/software/commoncpp http://www.gnu.org/software/commoncpp)
Summary
In this tutorial we learn how to install ucommon
on Fedora 34 using yum and dnf.