How To Install mono-bouncycastle on Fedora 36

In this tutorial we learn how to install mono-bouncycastle in Fedora 36. mono-bouncycastle is Bouncy Castle Crypto Package for Mono

Introduction

In this tutorial we learn how to install mono-bouncycastle on Fedora 36.

What is mono-bouncycastle

The Bouncy Castle Crypto package is a C# implementation of cryptographic algorithms. It is a port of the Bouncy Castle Java APIs, with approximately 80% of the functionality ported. The C# API is constantly kept up to date with bug fixes and new test cases from the Java build (and vice versa sometimes), thus benefiting from the large user base and real-world use the Java version has seen.

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

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

sudo dnf -y install mono-bouncycastle

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

sudo yum -y install mono-bouncycastle

How To Uninstall mono-bouncycastle on Fedora 36

To uninstall only the mono-bouncycastle package we can use the following command:

sudo dnf remove mono-bouncycastle

mono-bouncycastle Package Contents on Fedora 36

/usr/lib/mono/bouncycastle
/usr/lib/mono/bouncycastle/BouncyCastle.Crypto.dll
/usr/lib/mono/gac/BouncyCastle.Crypto
/usr/lib/mono/gac/BouncyCastle.Crypto/1.8.10.0__046ed8ba4eae38ad
/usr/lib/mono/gac/BouncyCastle.Crypto/1.8.10.0__046ed8ba4eae38ad/BouncyCastle.Crypto.dll
/usr/share/doc/mono-bouncycastle
/usr/share/doc/mono-bouncycastle/Contributors.html
/usr/share/doc/mono-bouncycastle/Readme.html
/usr/share/licenses/mono-bouncycastle
/usr/share/licenses/mono-bouncycastle/License.html

References

Summary

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