How To Install botan2 on Fedora 34
Introduction
In this tutorial we learn how to install botan2
on Fedora 34.
What is botan2
Botan is a BSD-licensed crypto library written in C++. It provides a wide variety of basic cryptographic algorithms, X.509 certificates and CRLs, PKCS #10 certificate requests, a filter/pipe message processing system, and a wide variety of other features, all written in portable C++. The API reference, tutorial, and examples may help impart the flavor of the library. This is the current stable release branch 2.x of Botan. botan2 2.17.3 3.fc34 x86_64 2.0 M botan2-2.17.3-3.fc34.src.rpm fedora Crypto and TLS for C++11 https BSD Botan is a BSD-licensed crypto library written in C++. It provides a wide variety of basic cryptographic algorithms, X.509 certificates and CRLs, PKCS #10 certificate requests, a filter/pipe message processing system, and a wide variety of other features, all written in portable C++. The API reference, tutorial, and examples may help impart the flavor of the library. This is the current stable release branch 2.x of Botan.
We can use yum
or dnf
to install botan2
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install botan2.
Install botan2 on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install botan2
using dnf
by running the following command:
sudo dnf -y install botan2
Install botan2 on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install botan2
using yum
by running the following command:
sudo yum -y install botan2
How To Uninstall botan2 on Fedora 34
To uninstall only the botan2
package we can use the following command:
sudo dnf remove botan2
botan2 Package Contents on Fedora 34
/usr/bin/botan
/usr/lib/.build-id
/usr/lib/.build-id/43
/usr/lib/.build-id/43/77782e6475bf4e829939c299826cebbed27338
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/895e6a12265cbe8c22a48b261db5ed952ea738
/usr/lib/libbotan-2.so.17
/usr/lib/libbotan-2.so.17.17.3
/usr/share/doc/botan2
/usr/share/doc/botan2/authors.txt
/usr/share/doc/botan2/license.txt
/usr/share/doc/botan2/news.txt
/usr/share/doc/botan2/pgpkey.txt
/usr/share/licenses/botan2
/usr/share/licenses/botan2/license.txt
/usr/share/man/man1/botan.1.gz
/usr/bin/botan
/usr/lib/.build-id
/usr/lib/.build-id/61
/usr/lib/.build-id/61/8a872fd7d598128e2dad99fbf7c2052ddab999
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/06490ffd228c58db1d1fcc5d32115c54190ee3
/usr/lib64/libbotan-2.so.17
/usr/lib64/libbotan-2.so.17.17.3
/usr/share/doc/botan2
/usr/share/doc/botan2/authors.txt
/usr/share/doc/botan2/license.txt
/usr/share/doc/botan2/news.txt
/usr/share/doc/botan2/pgpkey.txt
/usr/share/licenses/botan2
/usr/share/licenses/botan2/license.txt
/usr/share/man/man1/botan.1.gz
References
- [botan2 website](https://botan.randombit.net/ https://botan.randombit.net/)
Summary
In this tutorial we learn how to install botan2
on Fedora 34 using yum and dnf.