How To Install sha2 on Fedora 36
Introduction
In this tutorial we learn how to install sha2
on Fedora 36.
What is sha2
The library implements the SHA-256, SHA-384, and SHA-512 hash algorithms. The interface is similar to the interface to SHA-1 found in the OpenSSL library. sha2 is a simple program that accepts input from either STDIN or reads one or more files specified on the command line, and then generates the specified hash (either SHA-256, SHA-384, SHA-512, or any combination thereof, including all three at once).
We can use yum
or dnf
to install sha2
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install sha2.
Install sha2 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 sha2
using dnf
by running the following command:
sudo dnf -y install sha2
Install sha2 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 sha2
using yum
by running the following command:
sudo yum -y install sha2
How To Uninstall sha2 on Fedora 36
To uninstall only the sha2
package we can use the following command:
sudo dnf remove sha2
sha2 Package Contents on Fedora 36
/usr/bin/sha2
/usr/bin/sha2speed
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/dcca9092027f04a21e875722f07e8e5ce1fbff
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/79e6e5b30d783e525a0471a48d3bce4c27f9e0
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/fbf9c7fc90f8460a2d76b3ddc9e41030719751
/usr/lib64/libsha2.so.1
/usr/lib64/libsha2.so.1.0.1
/usr/share/doc/sha2
/usr/share/doc/sha2/README
References
Summary
In this tutorial we learn how to install sha2
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
title: “How To Install sha2 on Fedora 36” linkTitle: “sha2” type: “docs” description: “In this tutorial we learn how to install sha2 in Fedora 36. sha2 is SHA Implementation Library” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/sha2-featured.png
Introduction
In this tutorial we learn how to install sha2
on Fedora 36.
What is sha2
The library implements the SHA-256, SHA-384, and SHA-512 hash algorithms. The interface is similar to the interface to SHA-1 found in the OpenSSL library. sha2 is a simple program that accepts input from either STDIN or reads one or more files specified on the command line, and then generates the specified hash (either SHA-256, SHA-384, SHA-512, or any combination thereof, including all three at once).
We can use yum
or dnf
to install sha2
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install sha2.
Install sha2 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 sha2
using dnf
by running the following command:
sudo dnf -y install sha2
Install sha2 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 sha2
using yum
by running the following command:
sudo yum -y install sha2
How To Uninstall sha2 on Fedora 36
To uninstall only the sha2
package we can use the following command:
sudo dnf remove sha2
sha2 Package Contents on Fedora 36
/usr/bin/sha2
/usr/bin/sha2speed
/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/617eeaf084d5c8a13a6244e0fe72e9ed130c05
/usr/lib/.build-id/36
/usr/lib/.build-id/36/0c028fd8b50daa60e7375c4c5fe819992e0182
/usr/lib/.build-id/61
/usr/lib/.build-id/61/4ab46a07662d5154c3213066f74187b002743c
/usr/lib/libsha2.so.1
/usr/lib/libsha2.so.1.0.1
/usr/share/doc/sha2
/usr/share/doc/sha2/README
References
Summary
In this tutorial we learn how to install sha2
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).