How To Install soci-devel on CentOS 8

soci-devel is Header files, libraries and development documentation for soci

Introduction

In this tutorial we learn how to install soci-devel on CentOS 8.

What is soci-devel

This package contains the header files, dynamic libraries and development documentation for soci. If you would like to develop programs using soci, you will need to install soci-devel.

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

Install soci-devel on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install soci-devel using dnf by running the following command:

sudo dnf -y install soci-devel

Install soci-devel on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install soci-devel using yum by running the following command:

sudo yum -y install soci-devel

How To Uninstall soci-devel on CentOS 8

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

sudo dnf remove soci-devel

soci-devel Package Contents on CentOS 8

/usr/include/soci
/usr/include/soci/backend-loader.h
/usr/include/soci/bind-values.h
/usr/include/soci/blob-exchange.h
/usr/include/soci/blob.h
/usr/include/soci/boost-fusion.h
/usr/include/soci/boost-gregorian-date.h
/usr/include/soci/boost-optional.h
/usr/include/soci/boost-tuple.h
/usr/include/soci/callbacks.h
/usr/include/soci/column-info.h
/usr/include/soci/connection-parameters.h
/usr/include/soci/connection-pool.h
/usr/include/soci/empty
/usr/include/soci/empty/soci-empty.h
/usr/include/soci/error.h
/usr/include/soci/exchange-traits.h
/usr/include/soci/into-type.h
/usr/include/soci/into.h
/usr/include/soci/logger.h
/usr/include/soci/noreturn.h
/usr/include/soci/once-temp-type.h
/usr/include/soci/prepare-temp-type.h
/usr/include/soci/procedure.h
/usr/include/soci/query_transformation.h
/usr/include/soci/ref-counted-prepare-info.h
/usr/include/soci/ref-counted-statement.h
/usr/include/soci/row-exchange.h
/usr/include/soci/row.h
/usr/include/soci/rowid-exchange.h
/usr/include/soci/rowid.h
/usr/include/soci/rowset.h
/usr/include/soci/session.h
/usr/include/soci/soci-backend.h
/usr/include/soci/soci-config.h
/usr/include/soci/soci-platform.h
/usr/include/soci/soci-simple.h
/usr/include/soci/soci.h
/usr/include/soci/statement.h
/usr/include/soci/transaction.h
/usr/include/soci/type-conversion-traits.h
/usr/include/soci/type-conversion.h
/usr/include/soci/type-holder.h
/usr/include/soci/type-ptr.h
/usr/include/soci/type-wrappers.h
/usr/include/soci/unsigned-types.h
/usr/include/soci/use-type.h
/usr/include/soci/use.h
/usr/include/soci/values-exchange.h
/usr/include/soci/values.h
/usr/include/soci/version.h
/usr/lib64/libsoci_core.so
/usr/lib64/libsoci_empty.so
/usr/share/doc/soci-devel
/usr/share/doc/soci-devel/AUTHORS
/usr/share/doc/soci-devel/COPYING
/usr/share/doc/soci-devel/ChangeLog
/usr/share/doc/soci-devel/NEWS
/usr/share/doc/soci-devel/README
/usr/share/soci/CMake
/usr/share/soci/CMake/SOCI-noconfig.cmake
/usr/share/soci/CMake/SOCI.cmake

References

Summary

In this tutorial we learn how to install soci-devel on CentOS 8 using yum and dnf.