How To Install pacman-filesystem on Fedora 36

In this tutorial we learn how to install pacman-filesystem in Fedora 36. pacman-filesystem is Pacman filesystem layout

Introduction

In this tutorial we learn how to install pacman-filesystem on Fedora 36.

What is pacman-filesystem

This package provides some directories used by pacman and related packages.

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

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

sudo dnf -y install pacman-filesystem

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

sudo yum -y install pacman-filesystem

How To Uninstall pacman-filesystem on Fedora 36

To uninstall only the pacman-filesystem package we can use the following command:

sudo dnf remove pacman-filesystem

pacman-filesystem Package Contents on Fedora 36

/etc/pacman.d
/usr/share/pacman

References

Summary

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