How To Install erlang-p1_oauth2 on Fedora 36

In this tutorial we learn how to install erlang-p1_oauth2 in Fedora 36. erlang-p1_oauth2 is An Oauth2 implementation for Erlang

Introduction

In this tutorial we learn how to install erlang-p1_oauth2 on Fedora 36.

What is erlang-p1_oauth2

This library is designed to simplify the implementation of the server side of OAuth2. It is a fork of erlang-oauth2 by processone, and is needed by ejabberd.

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

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

sudo dnf -y install erlang-p1_oauth2

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

sudo yum -y install erlang-p1_oauth2

How To Uninstall erlang-p1_oauth2 on Fedora 36

To uninstall only the erlang-p1_oauth2 package we can use the following command:

sudo dnf remove erlang-p1_oauth2

erlang-p1_oauth2 Package Contents on Fedora 36

/usr/share/doc/erlang-p1_oauth2
/usr/share/doc/erlang-p1_oauth2/README.md
/usr/share/erlang/lib/p1_oauth2-0.6.7
/usr/share/erlang/lib/p1_oauth2-0.6.7/ebin
/usr/share/erlang/lib/p1_oauth2-0.6.7/ebin/oauth2.beam
/usr/share/erlang/lib/p1_oauth2-0.6.7/ebin/oauth2_backend.beam
/usr/share/erlang/lib/p1_oauth2-0.6.7/ebin/oauth2_config.beam
/usr/share/erlang/lib/p1_oauth2-0.6.7/ebin/oauth2_priv_set.beam
/usr/share/erlang/lib/p1_oauth2-0.6.7/ebin/oauth2_response.beam
/usr/share/erlang/lib/p1_oauth2-0.6.7/ebin/oauth2_token.beam
/usr/share/erlang/lib/p1_oauth2-0.6.7/ebin/oauth2_token_generation.beam
/usr/share/erlang/lib/p1_oauth2-0.6.7/ebin/p1_oauth2.app
/usr/share/licenses/erlang-p1_oauth2
/usr/share/licenses/erlang-p1_oauth2/LICENSE

References

Summary

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