How To Install lua-psl on Fedora 36

In this tutorial we learn how to install lua-psl in Fedora 36. lua-psl is Lua bindings to Public Suffix List library

Introduction

In this tutorial we learn how to install lua-psl on Fedora 36.

What is lua-psl

Lua bindings to libpsl, a C library that handles the Public Suffix List (PSL). The PSL is a list of domains where there may be sub-domains outside of the administrator’s control. e.g. the administrator of ‘.com’ does not manage ‘github.com’.

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

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

sudo dnf -y install lua-psl

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

sudo yum -y install lua-psl

How To Uninstall lua-psl on Fedora 36

To uninstall only the lua-psl package we can use the following command:

sudo dnf remove lua-psl

lua-psl Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/30
/usr/lib/.build-id/30/877fcef2fbd805d555071ab9b37c9f272a704a
/usr/lib64/lua/5.4/psl.so
/usr/share/licenses/lua-psl
/usr/share/licenses/lua-psl/LICENSE

References

Summary

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