How To Install socket_wrapper on Rocky Linux 8

In this tutorial we learn how to install socket_wrapper on Rocky Linux 8. socket_wrapper is A library passing all socket communications through Unix sockets

Introduction

In this tutorial we learn how to install socket_wrapper on Rocky Linux 8.

What is socket_wrapper

socket_wrapper aims to help client/server software development teams willing to gain full functional test coverage. It makes it possible to run several instances of the full software stack on the same machine and perform locally functional testing of complex network configurations. To use it set the following environment variables LD_PRELOAD=libsocket_wrapper.so SOCKET_WRAPPER_DIR=/path/to/swrap_dir This package doesn’t have a devel package because this project is for development/testing.

We can use yum or dnf to install socket_wrapper on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install socket_wrapper.

Install socket_wrapper on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install socket_wrapper

Install socket_wrapper on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install socket_wrapper using yum by running the following command:

sudo yum -y install socket_wrapper

How To Uninstall socket_wrapper on Rocky Linux 8

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

sudo dnf remove socket_wrapper

socket_wrapper Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/8add0ae8b836872ffc8710a2aa23c8df21c287
/usr/lib/cmake/socket_wrapper
/usr/lib/cmake/socket_wrapper/socket_wrapper-config-version.cmake
/usr/lib/cmake/socket_wrapper/socket_wrapper-config.cmake
/usr/lib/libsocket_wrapper.so
/usr/lib/libsocket_wrapper.so.0
/usr/lib/libsocket_wrapper.so.0.1.13
/usr/lib/pkgconfig/socket_wrapper.pc
/usr/share/doc/socket_wrapper
/usr/share/doc/socket_wrapper/AUTHORS
/usr/share/doc/socket_wrapper/ChangeLog
/usr/share/doc/socket_wrapper/README.md
/usr/share/licenses/socket_wrapper
/usr/share/licenses/socket_wrapper/LICENSE
/usr/share/man/man1/socket_wrapper.1.gz
/usr/lib/.build-id
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/4630d90ec01e3837c5791248f836640a82c127
/usr/lib64/cmake/socket_wrapper
/usr/lib64/cmake/socket_wrapper/socket_wrapper-config-version.cmake
/usr/lib64/cmake/socket_wrapper/socket_wrapper-config.cmake
/usr/lib64/libsocket_wrapper.so
/usr/lib64/libsocket_wrapper.so.0
/usr/lib64/libsocket_wrapper.so.0.1.13
/usr/lib64/pkgconfig/socket_wrapper.pc
/usr/share/doc/socket_wrapper
/usr/share/doc/socket_wrapper/AUTHORS
/usr/share/doc/socket_wrapper/ChangeLog
/usr/share/doc/socket_wrapper/README.md
/usr/share/licenses/socket_wrapper
/usr/share/licenses/socket_wrapper/LICENSE
/usr/share/man/man1/socket_wrapper.1.gz

References

Summary

In this tutorial we learn how to install socket_wrapper on Rocky Linux 8 using yum and dnf.