How To Install pagure-web-nginx on Fedora 36

In this tutorial we learn how to install pagure-web-nginx in Fedora 36. pagure-web-nginx is Nginx configuration for Pagure

Introduction

In this tutorial we learn how to install pagure-web-nginx on Fedora 36.

What is pagure-web-nginx

This package provides the configuration files for deploying a Pagure server using the Nginx web server.

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

Install pagure-web-nginx 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 pagure-web-nginx using dnf by running the following command:

sudo dnf -y install pagure-web-nginx

Install pagure-web-nginx 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 pagure-web-nginx using yum by running the following command:

sudo yum -y install pagure-web-nginx

How To Uninstall pagure-web-nginx on Fedora 36

To uninstall only the pagure-web-nginx package we can use the following command:

sudo dnf remove pagure-web-nginx

pagure-web-nginx Package Contents on Fedora 36

/etc/nginx/conf.d/pagure.conf
/usr/lib/systemd/system/pagure_docs_web.service
/usr/lib/systemd/system/pagure_web.service
/usr/share/licenses/pagure-web-nginx
/usr/share/licenses/pagure-web-nginx/LICENSE
/var/log/pagure/access_docs_web.log
/var/log/pagure/access_web.log
/var/log/pagure/error_docs_web.log
/var/log/pagure/error_web.log

References

Summary

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