How To Install commoncpp2 on Fedora 34
Introduction
In this tutorial we learn how to install commoncpp2
on Fedora 34.
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. commoncpp2 1.8.1 24.fc34 x86_64 238 k commoncpp2-1.8.1-24.fc34.src.rpm fedora GNU Common C++ class framework http GPLv2+ with exceptions 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install commoncpp2.
Install commoncpp2 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 commoncpp2
using dnf
by running the following command:
sudo dnf -y install commoncpp2
Install commoncpp2 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 commoncpp2
using yum
by running the following command:
sudo yum -y install commoncpp2
How To Uninstall commoncpp2 on Fedora 34
To uninstall only the commoncpp2
package we can use the following command:
sudo dnf remove commoncpp2
commoncpp2 Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/4c99d961d3c1c6655f3da503d538f7f260bc6a
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/cbb01471f1bc46f3c4ef9eb2ca56e48f9d88ea
/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
/usr/lib/.build-id
/usr/lib/.build-id/95
/usr/lib/.build-id/95/74f21def95b40dfe597c406c3e0b8e143b9f65
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/7136dc4b768351ec31a014e963ec744c4655d0
/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
- [commoncpp2 website](http://www.gnu.org/software/commoncpp/ http://www.gnu.org/software/commoncpp/)
Summary
In this tutorial we learn how to install commoncpp2
on Fedora 34 using yum and dnf.