How To Install yubihsm-shell on Fedora 36

In this tutorial we learn how to install yubihsm-shell in Fedora 36. yubihsm-shell is Tools to interact with YubiHSM 2

Introduction

In this tutorial we learn how to install yubihsm-shell on Fedora 36.

What is yubihsm-shell

This package contains most of the components used to interact with the YubiHSM 2 at both a user-facing and programmatic level.

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

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

sudo dnf -y install yubihsm-shell

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

sudo yum -y install yubihsm-shell

How To Uninstall yubihsm-shell on Fedora 36

To uninstall only the yubihsm-shell package we can use the following command:

sudo dnf remove yubihsm-shell

yubihsm-shell Package Contents on Fedora 36

---
title: "How To Install yubihsm-shell on Fedora 36"
linkTitle: "yubihsm-shell"
type: "docs"
description: "In this tutorial we learn how to install yubihsm-shell in Fedora 36. yubihsm-shell is Tools to interact with YubiHSM 2"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/yubihsm-shell-featured.png
---

## Introduction

In this tutorial we learn how to install `yubihsm-shell` on Fedora 36.

### What is `yubihsm-shell`

> This package contains most of the components used to interact with the YubiHSM 2 at both a user-facing and programmatic level.  

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

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

sudo dnf -y install yubihsm-shell

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

sudo yum -y install yubihsm-shell

How To Uninstall yubihsm-shell on Fedora 36

To uninstall only the yubihsm-shell package we can use the following command:

sudo dnf remove yubihsm-shell

yubihsm-shell Package Contents on Fedora 36

/usr/bin/yubihsm-auth
/usr/bin/yubihsm-shell
/usr/bin/yubihsm-wrap
/usr/lib/.build-id
/usr/lib/.build-id/30
/usr/lib/.build-id/30/606d371e83f0377f3e424d1eacf5ffa44dd660
/usr/lib/.build-id/55
/usr/lib/.build-id/55/d0797ecd7134f3d8792916b6ec6f8019f1f1c1
/usr/lib/.build-id/75
/usr/lib/.build-id/75/ac6c8a40fa8689d76264c9f02dcb39e655ecbe
/usr/lib/.build-id/84
/usr/lib/.build-id/84/4196b73804cb197048252c5cf8ad2bb0e96f18
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/d019771a83213e249f2090cf6b2091a62f4fa6
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/9b40269f41380abbaff56f8e812a8f383ee028
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/5195bf7753391b5f3f13e8c8bff78d3fc5feb9
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/05d8964a1de44ff8e12539c808bf4c2f3dd348
/usr/lib/libykhsmauth.so.2
/usr/lib/libykhsmauth.so.2.3.1
/usr/lib/libyubihsm.so.2
/usr/lib/libyubihsm.so.2.3.1
/usr/lib/libyubihsm_http.so.2
/usr/lib/libyubihsm_http.so.2.3.1
/usr/lib/libyubihsm_usb.so.2
/usr/lib/libyubihsm_usb.so.2.3.1
/usr/lib/pkcs11
/usr/lib/pkcs11/yubihsm_pkcs11.so
/usr/share/licenses/yubihsm-shell
/usr/share/licenses/yubihsm-shell/LICENSE
/usr/share/man/man1/yubihsm-auth.1.gz
/usr/share/man/man1/yubihsm-shell.1.gz
/usr/share/man/man1/yubihsm-wrap.1.gz

References

Summary

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

/usr/bin/yubihsm-auth /usr/bin/yubihsm-shell /usr/bin/yubihsm-wrap /usr/lib/.build-id /usr/lib/.build-id/14 /usr/lib/.build-id/14/41362343f13000ca251680a09330a0676caeed /usr/lib/.build-id/5b /usr/lib/.build-id/5b/7eca4ab8520f50e529f5dc9ece45f2c4f2827c /usr/lib/.build-id/7b /usr/lib/.build-id/7b/a34816b8a8a277ba2f778a85d206fa07d5f3e8 /usr/lib/.build-id/80 /usr/lib/.build-id/80/11923e84790aa0c64095a8086fe375c60296ce /usr/lib/.build-id/9a /usr/lib/.build-id/9a/4846ee6c6ce11f0c0e267a7f8c99037683b7a0 /usr/lib/.build-id/b3 /usr/lib/.build-id/b3/bf9866f7ace07fb0f8d5754a69f3c3b1754cd7 /usr/lib/.build-id/c0 /usr/lib/.build-id/c0/ef09c3068598b1976e468e53307faf35906191 /usr/lib/.build-id/fe /usr/lib/.build-id/fe/c992778d250bf0d9df0309d741cf507c7f6ee7 /usr/lib64/libykhsmauth.so.2 /usr/lib64/libykhsmauth.so.2.3.1 /usr/lib64/libyubihsm.so.2 /usr/lib64/libyubihsm.so.2.3.1 /usr/lib64/libyubihsm_http.so.2 /usr/lib64/libyubihsm_http.so.2.3.1 /usr/lib64/libyubihsm_usb.so.2 /usr/lib64/libyubihsm_usb.so.2.3.1 /usr/lib64/pkcs11 /usr/lib64/pkcs11/yubihsm_pkcs11.so /usr/share/licenses/yubihsm-shell /usr/share/licenses/yubihsm-shell/LICENSE /usr/share/man/man1/yubihsm-auth.1.gz /usr/share/man/man1/yubihsm-shell.1.gz /usr/share/man/man1/yubihsm-wrap.1.gz


## References

* [yubihsm-shell website](https://github.com/Yubico/yubihsm-shell/)

## Summary

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