How To Install libretls on Fedora 34
Introduction
In this tutorial we learn how to install libretls
on Fedora 34.
What is libretls
LibreTLS is a port of libtls from LibreSSL to OpenSSL. OpenBSD’s libtls is a new TLS library, designed to make it easier to write foolproof applications. libretls 3.3.3p1 1.fc34 x86_64 40 k libretls-3.3.3p1-1.fc34.src.rpm updates Port of libtls from LibreSSL to OpenSSL https ISC and BSD and MIT and Public Domain LibreTLS is a port of libtls from LibreSSL to OpenSSL. OpenBSD’s libtls is a new TLS library, designed to make it easier to write foolproof applications.
We can use yum
or dnf
to install libretls
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libretls.
Install libretls 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 libretls
using dnf
by running the following command:
sudo dnf -y install libretls
Install libretls 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 libretls
using yum
by running the following command:
sudo yum -y install libretls
How To Uninstall libretls on Fedora 34
To uninstall only the libretls
package we can use the following command:
sudo dnf remove libretls
libretls Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/efeecad145ef873364f8805ce3d2d4034e646d
/usr/lib64/libtls.so.20
/usr/lib64/libtls.so.20.0.3
/usr/share/doc/libretls
/usr/share/doc/libretls/README
/usr/share/man/man7/libtls.7.gz
/usr/lib/.build-id
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/5c1fa7ff4a651692f682bc2f802ceba7801bcd
/usr/lib/libtls.so.20
/usr/lib/libtls.so.20.0.3
/usr/share/doc/libretls
/usr/share/doc/libretls/README
/usr/share/man/man7/libtls.7.gz
/usr/lib/.build-id
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/1b97be0267f4b26c86141446b31e1b0ab8c310
/usr/lib/libtls.so.20
/usr/lib/libtls.so.20.0.1
/usr/share/doc/libretls
/usr/share/doc/libretls/README
/usr/share/man/man7/libtls.7.gz
/usr/lib/.build-id
/usr/lib/.build-id/de
/usr/lib/.build-id/de/60ddde18e571266ba93d8285bbc883f77c9057
/usr/lib64/libtls.so.20
/usr/lib64/libtls.so.20.0.1
/usr/share/doc/libretls
/usr/share/doc/libretls/README
/usr/share/man/man7/libtls.7.gz
References
- [libretls website](https://git.causal.agency/libretls/about/ https://git.causal.agency/libretls/about/)
Summary
In this tutorial we learn how to install libretls
on Fedora 34 using yum and dnf.