How To Install socket_wrapper on Fedora 34

socket_wrapper is A library passing all socket communications through Unix sockets A library passing all socket communications through Unix sockets

Introduction

In this tutorial we learn how to install socket_wrapper on Fedora 34.

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. socket_wrapper 1.3.3 2.fc34 x86_64 49 k socket_wrapper-1.3.3-2.fc34.src.rpm updates A library passing all socket communications through Unix sockets http BSD 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install socket_wrapper.

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

sudo dnf -y install socket_wrapper

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

sudo yum -y install socket_wrapper

How To Uninstall socket_wrapper on Fedora 34

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

sudo dnf remove socket_wrapper

socket_wrapper Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/6a43599fe35d7d879591b87a951c002f3bee2a
/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.3.0
/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/8e
/usr/lib/.build-id/8e/3756c80d996fac2a14b2116ea5556457f2b7da
/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.15
/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
/usr/lib/.build-id
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/0e7e268825916ba9ac500c907ab3c690b383f8
/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.15
/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/ef
/usr/lib/.build-id/ef/e2cbda3866f5f26d0c4f56967c1e1a5cee5596
/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.3.0
/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 Fedora 34 using yum and dnf.