How To Install pacman on Fedora 36
Introduction
In this tutorial we learn how to install pacman
on Fedora 36.
What is pacman
Pacman is the package manager used by the Arch distribution. It can be used to install Arch into a container or to recover an Arch installation from a Fedora system (see arch-install-scripts package for instructions). Pacman is a frontend for the ALPM (Arch Linux Package Management) library Pacman does not strive to “do everything.” It will add, remove and upgrade packages in the system, and it will allow you to query the package database for installed packages, files and owners. It also attempts to handle dependencies automatically and can download packages from a remote server. Arch packages are simple archives, with .pkg.tar.gz extension for binary packages and .src.tar.gz for source packages.
We can use yum
or dnf
to install pacman
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install pacman.
Install pacman 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
using dnf
by running the following command:
sudo dnf -y install pacman
Install pacman 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
using yum
by running the following command:
sudo yum -y install pacman
How To Uninstall pacman on Fedora 36
To uninstall only the pacman
package we can use the following command:
sudo dnf remove pacman
pacman Package Contents on Fedora 36
/etc/makepkg.conf
/etc/pacman.conf
/etc/pacman.d/mirrorlist
/usr/bin/makepkg
/usr/bin/makepkg-template
/usr/bin/pacman
/usr/bin/pacman-conf
/usr/bin/pacman-db-upgrade
/usr/bin/pacman-key
/usr/bin/repo-add
/usr/bin/repo-elephant
/usr/bin/repo-remove
/usr/bin/testpkg
/usr/bin/vercmp
/usr/lib/.build-id
/usr/lib/.build-id/11
/usr/lib/.build-id/11/549a036837558394412f320cdc347f3a5b8fe6
/usr/lib/.build-id/18
/usr/lib/.build-id/18/e2646a225459574dfcf2f91460a4d4629f1aad
/usr/lib/.build-id/50
/usr/lib/.build-id/50/b973db19284f48de6b838ef07592e6786cf6bb
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/17cb28043982bcf5b9236f2b116e015cf58dce
/usr/share/bash-completion/completions/pacman
/usr/share/bash-completion/completions/pacman-key
/usr/share/doc/pacman
/usr/share/doc/pacman/NEWS
/usr/share/licenses/pacman
/usr/share/licenses/pacman/COPYING
/usr/share/locale/ar/LC_MESSAGES/pacman.mo
/usr/share/locale/ast/LC_MESSAGES/pacman.mo
/usr/share/locale/az_AZ/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/az_AZ/LC_MESSAGES/pacman.mo
/usr/share/locale/bg/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/bg/LC_MESSAGES/pacman.mo
/usr/share/locale/br/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/br/LC_MESSAGES/pacman.mo
/usr/share/locale/ca/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/ca/LC_MESSAGES/pacman.mo
/usr/share/locale/cs/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/cs/LC_MESSAGES/pacman.mo
/usr/share/locale/da/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/da/LC_MESSAGES/pacman.mo
/usr/share/locale/de/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/de/LC_MESSAGES/pacman.mo
/usr/share/locale/el/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/el/LC_MESSAGES/pacman.mo
/usr/share/locale/en_GB/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/en_GB/LC_MESSAGES/pacman.mo
/usr/share/locale/eo/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/eo/LC_MESSAGES/pacman.mo
/usr/share/locale/es/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/es/LC_MESSAGES/pacman.mo
/usr/share/locale/es_419/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/es_419/LC_MESSAGES/pacman.mo
/usr/share/locale/eu/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/eu/LC_MESSAGES/pacman.mo
/usr/share/locale/eu_ES/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/eu_ES/LC_MESSAGES/pacman.mo
/usr/share/locale/fi/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/fi/LC_MESSAGES/pacman.mo
/usr/share/locale/fr/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/fr/LC_MESSAGES/pacman.mo
/usr/share/locale/gl/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/gl/LC_MESSAGES/pacman.mo
/usr/share/locale/hi/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/hi/LC_MESSAGES/pacman.mo
/usr/share/locale/hr/LC_MESSAGES/pacman.mo
/usr/share/locale/hu/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/hu/LC_MESSAGES/pacman.mo
/usr/share/locale/id/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/id/LC_MESSAGES/pacman.mo
/usr/share/locale/it/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/it/LC_MESSAGES/pacman.mo
/usr/share/locale/ja/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/ja/LC_MESSAGES/pacman.mo
/usr/share/locale/ko/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/ko/LC_MESSAGES/pacman.mo
/usr/share/locale/lt/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/lt/LC_MESSAGES/pacman.mo
/usr/share/locale/nb/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/nb/LC_MESSAGES/pacman.mo
/usr/share/locale/nl/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/nl/LC_MESSAGES/pacman.mo
/usr/share/locale/pl/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/pl/LC_MESSAGES/pacman.mo
/usr/share/locale/pt/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/pt/LC_MESSAGES/pacman.mo
/usr/share/locale/pt_BR/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/pt_BR/LC_MESSAGES/pacman.mo
/usr/share/locale/ro/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/ro/LC_MESSAGES/pacman.mo
/usr/share/locale/ru/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/ru/LC_MESSAGES/pacman.mo
/usr/share/locale/sk/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/sk/LC_MESSAGES/pacman.mo
/usr/share/locale/sl/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/sl/LC_MESSAGES/pacman.mo
/usr/share/locale/sr/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/sr/LC_MESSAGES/pacman.mo
/usr/share/locale/sr@latin/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/sr@latin/LC_MESSAGES/pacman.mo
/usr/share/locale/sv/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/sv/LC_MESSAGES/pacman.mo
/usr/share/locale/tr/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/tr/LC_MESSAGES/pacman.mo
/usr/share/locale/uk/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/uk/LC_MESSAGES/pacman.mo
/usr/share/locale/zh_CN/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/zh_CN/LC_MESSAGES/pacman.mo
/usr/share/locale/zh_TW/LC_MESSAGES/pacman-scripts.mo
/usr/share/locale/zh_TW/LC_MESSAGES/pacman.mo
/usr/share/makepkg
/usr/share/makepkg/buildenv
/usr/share/makepkg/buildenv.sh
/usr/share/makepkg/buildenv/buildflags.sh
/usr/share/makepkg/buildenv/compiler.sh
/usr/share/makepkg/buildenv/debugflags.sh
/usr/share/makepkg/buildenv/lto.sh
/usr/share/makepkg/buildenv/makeflags.sh
/usr/share/makepkg/executable
/usr/share/makepkg/executable.sh
/usr/share/makepkg/executable/ccache.sh
/usr/share/makepkg/executable/checksum.sh
/usr/share/makepkg/executable/distcc.sh
/usr/share/makepkg/executable/fakeroot.sh
/usr/share/makepkg/executable/gpg.sh
/usr/share/makepkg/executable/gzip.sh
/usr/share/makepkg/executable/pacman.sh
/usr/share/makepkg/executable/strip.sh
/usr/share/makepkg/executable/sudo.sh
/usr/share/makepkg/executable/vcs.sh
/usr/share/makepkg/integrity
/usr/share/makepkg/integrity.sh
/usr/share/makepkg/integrity/generate_checksum.sh
/usr/share/makepkg/integrity/generate_signature.sh
/usr/share/makepkg/integrity/verify_checksum.sh
/usr/share/makepkg/integrity/verify_signature.sh
/usr/share/makepkg/lint_config
/usr/share/makepkg/lint_config.sh
/usr/share/makepkg/lint_config/ext.sh
/usr/share/makepkg/lint_config/paths.sh
/usr/share/makepkg/lint_config/source_date_epoch.sh
/usr/share/makepkg/lint_config/variable.sh
/usr/share/makepkg/lint_package
/usr/share/makepkg/lint_package.sh
/usr/share/makepkg/lint_package/build_references.sh
/usr/share/makepkg/lint_package/dotfiles.sh
/usr/share/makepkg/lint_package/file_names.sh
/usr/share/makepkg/lint_package/missing_backup.sh
/usr/share/makepkg/lint_pkgbuild
/usr/share/makepkg/lint_pkgbuild.sh
/usr/share/makepkg/lint_pkgbuild/arch.sh
/usr/share/makepkg/lint_pkgbuild/arch_specific.sh
/usr/share/makepkg/lint_pkgbuild/backup.sh
/usr/share/makepkg/lint_pkgbuild/changelog.sh
/usr/share/makepkg/lint_pkgbuild/checkdepends.sh
/usr/share/makepkg/lint_pkgbuild/conflicts.sh
/usr/share/makepkg/lint_pkgbuild/depends.sh
/usr/share/makepkg/lint_pkgbuild/epoch.sh
/usr/share/makepkg/lint_pkgbuild/fullpkgver.sh
/usr/share/makepkg/lint_pkgbuild/install.sh
/usr/share/makepkg/lint_pkgbuild/makedepends.sh
/usr/share/makepkg/lint_pkgbuild/optdepends.sh
/usr/share/makepkg/lint_pkgbuild/options.sh
/usr/share/makepkg/lint_pkgbuild/package_function.sh
/usr/share/makepkg/lint_pkgbuild/package_function_variable.sh
/usr/share/makepkg/lint_pkgbuild/pkgbase.sh
/usr/share/makepkg/lint_pkgbuild/pkglist.sh
/usr/share/makepkg/lint_pkgbuild/pkgname.sh
/usr/share/makepkg/lint_pkgbuild/pkgrel.sh
/usr/share/makepkg/lint_pkgbuild/pkgver.sh
/usr/share/makepkg/lint_pkgbuild/provides.sh
/usr/share/makepkg/lint_pkgbuild/source.sh
/usr/share/makepkg/lint_pkgbuild/util.sh
/usr/share/makepkg/lint_pkgbuild/variable.sh
/usr/share/makepkg/reproducible
/usr/share/makepkg/reproducible.sh
/usr/share/makepkg/reproducible/python.sh
/usr/share/makepkg/source
/usr/share/makepkg/source.sh
/usr/share/makepkg/source/bzr.sh
/usr/share/makepkg/source/file.sh
/usr/share/makepkg/source/fossil.sh
/usr/share/makepkg/source/git.sh
/usr/share/makepkg/source/hg.sh
/usr/share/makepkg/source/local.sh
/usr/share/makepkg/source/svn.sh
/usr/share/makepkg/srcinfo.sh
/usr/share/makepkg/tidy
/usr/share/makepkg/tidy.sh
/usr/share/makepkg/tidy/docs.sh
/usr/share/makepkg/tidy/emptydirs.sh
/usr/share/makepkg/tidy/libtool.sh
/usr/share/makepkg/tidy/purge.sh
/usr/share/makepkg/tidy/staticlibs.sh
/usr/share/makepkg/tidy/strip.sh
/usr/share/makepkg/tidy/zipman.sh
/usr/share/makepkg/util
/usr/share/makepkg/util.sh
/usr/share/makepkg/util/compress.sh
/usr/share/makepkg/util/config.sh
/usr/share/makepkg/util/dirsize.sh
/usr/share/makepkg/util/error.sh
/usr/share/makepkg/util/message.sh
/usr/share/makepkg/util/option.sh
/usr/share/makepkg/util/parseopts.sh
/usr/share/makepkg/util/pkgbuild.sh
/usr/share/makepkg/util/schema.sh
/usr/share/makepkg/util/source.sh
/usr/share/makepkg/util/util.sh
/usr/share/man/man1/makepkg-template.1.gz
/usr/share/man/man5/BUILDINFO.5.gz
/usr/share/man/man5/PKGBUILD.5.gz
/usr/share/man/man5/alpm-hooks.5.gz
/usr/share/man/man5/makepkg.conf.5.gz
/usr/share/man/man5/pacman-hooks.5.gz
/usr/share/man/man5/pacman.conf.5.gz
/usr/share/man/man8/makepkg.8.gz
/usr/share/man/man8/pacman-conf.8.gz
/usr/share/man/man8/pacman-key.8.gz
/usr/share/man/man8/pacman.8.gz
/usr/share/man/man8/repo-add.8.gz
/usr/share/man/man8/repo-remove.8.gz
/usr/share/man/man8/vercmp.8.gz
/usr/share/pacman/PKGBUILD-split.proto
/usr/share/pacman/PKGBUILD-vcs.proto
/usr/share/pacman/PKGBUILD.proto
/usr/share/pacman/proto.install
/usr/share/pkgconfig/libmakepkg.pc
/usr/share/zsh/site-functions/_pacman
/var/cache/pacman
/var/cache/pacman/pkg
/var/lib/pacman
References
Summary
In this tutorial we learn how to install pacman
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).