How To Install liboauth2 on Fedora 34
Introduction
In this tutorial we learn how to install liboauth2
on Fedora 34.
What is liboauth2
liboauth2 library provides primitives to create OAuth 2.x and OpenID Connect servers and clients liboauth2 1.4.1 2.fc34 x86_64 104 k liboauth2-1.4.1-2.fc34.src.rpm updates Generic library to build OAuth 2.x and OpenID Connect servers and clients in C https AGPLv3 liboauth2 library provides primitives to create OAuth 2.x and OpenID Connect servers and clients
We can use yum
or dnf
to install liboauth2
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install liboauth2.
Install liboauth2 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 liboauth2
using dnf
by running the following command:
sudo dnf -y install liboauth2
Install liboauth2 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 liboauth2
using yum
by running the following command:
sudo yum -y install liboauth2
How To Uninstall liboauth2 on Fedora 34
To uninstall only the liboauth2
package we can use the following command:
sudo dnf remove liboauth2
liboauth2 Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/5bfef03e145e2b4b1d9073048378f14484a12c
/usr/lib64/liboauth2.so.0
/usr/lib64/liboauth2.so.0.0.0
/usr/share/doc/liboauth2
/usr/share/doc/liboauth2/README.md
/usr/share/licenses/liboauth2
/usr/share/licenses/liboauth2/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/a97209410c8a92bde3acf582c7453a2dad2831
/usr/lib/liboauth2.so.0
/usr/lib/liboauth2.so.0.0.0
/usr/share/doc/liboauth2
/usr/share/doc/liboauth2/README.md
/usr/share/licenses/liboauth2
/usr/share/licenses/liboauth2/LICENSE
References
- [liboauth2 website](https://github.com/zmartzone/liboauth2 https://github.com/zmartzone/liboauth2)
Summary
In this tutorial we learn how to install liboauth2
on Fedora 34 using yum and dnf.