How To Install socket_wrapper on Fedora 36

In this tutorial we learn how to install socket_wrapper in Fedora 36. socket_wrapper is A library passing all socket communications through Unix sockets

Introduction

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

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 Fedora 36. 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 36 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 Fedora 36 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 Fedora 36

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

sudo dnf remove socket_wrapper

socket_wrapper Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/23
/usr/lib/.build-id/23/764c8aca6ec73442f43489072937cac8634557
/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
---
title: "How To Install socket_wrapper on Fedora 36"
linkTitle: "socket_wrapper"
type: "docs"
description: "In this tutorial we learn how to install socket_wrapper in Fedora 36. socket_wrapper is A library passing all socket communications through Unix sockets"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/socket_wrapper-featured.png
---

## Introduction

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

### 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 Fedora 36. 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 36 Using dnf

References

Update yum database with dnf using the following command.


sudo dnf makecache --refresh
## Summary

After updating yum database, We can install socket_wrapper using dnf by running the following command: In this tutorial we learn how to install socket_wrapper on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

sudo dnf -y install socket_wrapper

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

sudo yum -y install socket_wrapper

How To Uninstall socket_wrapper on Fedora 36

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

sudo dnf remove socket_wrapper

socket_wrapper Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/63e8fd8b3b507aedbd9a1fafc9d5824373307f
/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 36 using yum and [dnf]((/fedora/36/dnf/).