How To Install commoncpp2 on Fedora 36
Introduction
In this tutorial we learn how to install commoncpp2 on Fedora 36.
What is commoncpp2
GNU Common C++ is a portable and highly optimized class framework for writing C++ applications that need to use threads, sockets, XML parsing, serialization, config files, etc. This framework offers a class foundation that hides platform differences from your C++ application so that you need not write platform specific code. GNU Common C++ has been ported to compile natively on most platforms which support posix threads.
We can use yum or dnf to install commoncpp2 on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install commoncpp2.
Install commoncpp2 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 commoncpp2 using dnf by running the following command:
sudo dnf -y install commoncpp2
Install commoncpp2 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 commoncpp2 using yum by running the following command:
sudo yum -y install commoncpp2
How To Uninstall commoncpp2 on Fedora 36
To uninstall only the commoncpp2 package we can use the following command:
sudo dnf remove commoncpp2
commoncpp2 Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/c098aedc5368af9feb8ec16e98723d453f6639
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/9696f85795cc5ea3a2e5441c16820374545b78
/usr/lib/libccext2-1.8.so.0
/usr/lib/libccext2-1.8.so.0.0.1
/usr/lib/libccgnu2-1.8.so.0
/usr/lib/libccgnu2-1.8.so.0.0.1
/usr/share/doc/commoncpp2
/usr/share/doc/commoncpp2/ChangeLog
/usr/share/doc/commoncpp2/README
/usr/share/licenses/commoncpp2
/usr/share/licenses/commoncpp2/COPYING
References
Summary
In this tutorial we learn how to install commoncpp2 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
title: “How To Install commoncpp2 on Fedora 36” linkTitle: “commoncpp2” type: “docs” description: “In this tutorial we learn how to install commoncpp2 in Fedora 36. commoncpp2 is GNU Common C++ class framework” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/commoncpp2-featured.png
Introduction
In this tutorial we learn how to install commoncpp2 on Fedora 36.
What is commoncpp2
GNU Common C++ is a portable and highly optimized class framework for writing C++ applications that need to use threads, sockets, XML parsing, serialization, config files, etc. This framework offers a class foundation that hides platform differences from your C++ application so that you need not write platform specific code. GNU Common C++ has been ported to compile natively on most platforms which support posix threads.
We can use yum or dnf to install commoncpp2 on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install commoncpp2.
Install commoncpp2 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 commoncpp2 using dnf by running the following command:
sudo dnf -y install commoncpp2
Install commoncpp2 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 commoncpp2 using yum by running the following command:
sudo yum -y install commoncpp2
How To Uninstall commoncpp2 on Fedora 36
To uninstall only the commoncpp2 package we can use the following command:
sudo dnf remove commoncpp2
commoncpp2 Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/236b1c402a3aff71d4b8a36957ed1e65fbd11d
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/30e2cc100a4b165e8395ee421b40ceeb751c80
/usr/lib64/libccext2-1.8.so.0
/usr/lib64/libccext2-1.8.so.0.0.1
/usr/lib64/libccgnu2-1.8.so.0
/usr/lib64/libccgnu2-1.8.so.0.0.1
/usr/share/doc/commoncpp2
/usr/share/doc/commoncpp2/ChangeLog
/usr/share/doc/commoncpp2/README
/usr/share/licenses/commoncpp2
/usr/share/licenses/commoncpp2/COPYING
References
Summary
In this tutorial we learn how to install commoncpp2 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).