How To Install soci on Fedora 36

In this tutorial we learn how to install soci in Fedora 36. soci is The database access library for C++ programmers

Introduction

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

What is soci

soci is a C++ database access library that provides the illusion of embedding SQL in regular C++ code, staying entirely within the C++ standard.

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

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

sudo dnf -y install soci

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

sudo yum -y install soci

How To Uninstall soci on Fedora 36

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

sudo dnf remove soci

soci Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/a5cd78279ed35e70f6ef8d2d9eed3c9d0c4e00
/usr/lib/.build-id/71
/usr/lib/.build-id/71/3b403af343270ca995825f12fa39aaaf181ba8
/usr/lib64/libsoci_core.so.4.0
/usr/lib64/libsoci_core.so.4.0.2
/usr/lib64/libsoci_empty.so.4.0
/usr/lib64/libsoci_empty.so.4.0.2
/usr/share/doc/soci
/usr/share/doc/soci/AUTHORS
/usr/share/doc/soci/COPYING
/usr/share/doc/soci/ChangeLog
/usr/share/doc/soci/NEWS
/usr/share/doc/soci/README

References

Summary

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


title: “How To Install soci on Fedora 36” linkTitle: “soci” type: “docs” description: “In this tutorial we learn how to install soci in Fedora 36. soci is The database access library for C++ programmers” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/soci-featured.png

Introduction

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

What is soci

soci is a C++ database access library that provides the illusion of embedding SQL in regular C++ code, staying entirely within the C++ standard.

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

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

sudo dnf -y install soci

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

sudo yum -y install soci

How To Uninstall soci on Fedora 36

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

sudo dnf remove soci

soci Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/56
/usr/lib/.build-id/56/a35de10666986bcf8c9883d5ccda3a487c8eb0
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/a8a3a51fc93a3044bea98348d8a9135f76c824
/usr/lib/libsoci_core.so.4.0
/usr/lib/libsoci_core.so.4.0.2
/usr/lib/libsoci_empty.so.4.0
/usr/lib/libsoci_empty.so.4.0.2
/usr/share/doc/soci
/usr/share/doc/soci/AUTHORS
/usr/share/doc/soci/COPYING
/usr/share/doc/soci/ChangeLog
/usr/share/doc/soci/NEWS
/usr/share/doc/soci/README

References

Summary

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