How To Install sanlock-lib on Fedora 36

In this tutorial we learn how to install sanlock-lib in Fedora 36. sanlock-lib is A shared storage lock manager library

Introduction

In this tutorial we learn how to install sanlock-lib on Fedora 36.

What is sanlock-lib

The sanlock-lib package contains the runtime libraries for sanlock, a shared storage lock manager. Hosts connected to a common SAN can use this to synchronize their access to the shared disks.

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

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

sudo dnf -y install sanlock-lib

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

sudo yum -y install sanlock-lib

How To Uninstall sanlock-lib on Fedora 36

To uninstall only the sanlock-lib package we can use the following command:

sudo dnf remove sanlock-lib

sanlock-lib Package Contents on Fedora 36

---
title: "How To Install sanlock-lib on Fedora 36"
linkTitle: "sanlock-lib"
type: "docs"
description: "In this tutorial we learn how to install sanlock-lib in Fedora 36. sanlock-lib is A shared storage lock manager library"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/sanlock-lib-featured.png
---

## Introduction

In this tutorial we learn how to install `sanlock-lib` on Fedora 36.

### What is `sanlock-lib`

> The sanlock-lib package contains the runtime libraries for sanlock, a shared storage lock manager. Hosts connected to a common SAN can use this to synchronize their access to the shared disks.  

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

## Install sanlock-lib on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

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

sudo dnf -y install sanlock-lib

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

sudo yum -y install sanlock-lib

How To Uninstall sanlock-lib on Fedora 36

To uninstall only the sanlock-lib package we can use the following command:

sudo dnf remove sanlock-lib

/usr/lib/.build-id /usr/lib/.build-id/22 /usr/lib/.build-id/22/732237efe8386c3693002311f6f0066bb896da /usr/lib/.build-id/35 /usr/lib/.build-id/35/ae1a8b2747cb6adb911b2469e484b00b878b22 /usr/lib/.build-id/b0 /usr/lib/.build-id/b0/f9efce3574db323d6dcaf1692070155cc67a8d /usr/lib/libsanlock.so.1 /usr/lib/libsanlock.so.1.0 /usr/lib/libsanlock_client.so.1 /usr/lib/libsanlock_client.so.1.0 /usr/lib/libwdmd.so.1 /usr/lib/libwdmd.so.1.0

sanlock-lib Package Contents on Fedora 36

References

Summary

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

/usr/lib/.build-id /usr/lib/.build-id/1e /usr/lib/.build-id/1e/7815bf5226fdfaeebe3ed36af5150d5d7a20fe /usr/lib/.build-id/75 /usr/lib/.build-id/75/b8b13ca8ed532947099153fed73a3f39bfc8c7 /usr/lib/.build-id/88 /usr/lib/.build-id/88/4c11199e9b5342e0013cfaa1010b257ba03486 /usr/lib64/libsanlock.so.1 /usr/lib64/libsanlock.so.1.0 /usr/lib64/libsanlock_client.so.1 /usr/lib64/libsanlock_client.so.1.0 /usr/lib64/libwdmd.so.1 /usr/lib64/libwdmd.so.1.0


## References

* [sanlock-lib website](https://pagure.io/sanlock/)

## Summary

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