How To Install zypper on Fedora 36

In this tutorial we learn how to install zypper in Fedora 36. zypper is Command line package manager using libzypp

Introduction

In this tutorial we learn how to install zypper on Fedora 36.

What is zypper

Zypper is a command line package manager tool using libzypp, which can be used to manage software for RPM based systems.

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

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

sudo dnf -y install zypper

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

sudo yum -y install zypper

How To Uninstall zypper on Fedora 36

To uninstall only the zypper package we can use the following command:

sudo dnf remove zypper

zypper Package Contents on Fedora 36

/etc/logrotate.d/zypp-refresh.lr
/etc/logrotate.d/zypper.lr
/etc/zypp/zypper.conf
/usr/bin/installation_sources
/usr/bin/zypp-needs-restarting
/usr/bin/zypper
/usr/lib/.build-id
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/ee798bfca0990bfecb456d1886605737182f28
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/f1cbcc700649e087242137f20d893d021644fc
/usr/libexec/zypper
/usr/libexec/zypper/commands
/usr/sbin/zypp-refresh
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/zypper
/usr/share/doc/zypper/HACKING
/usr/share/licenses/zypper
/usr/share/licenses/zypper/COPYING
/usr/share/locale/af/LC_MESSAGES/zypper.mo
/usr/share/locale/ar/LC_MESSAGES/zypper.mo
/usr/share/locale/ast/LC_MESSAGES/zypper.mo
/usr/share/locale/be/LC_MESSAGES/zypper.mo
/usr/share/locale/bg/LC_MESSAGES/zypper.mo
/usr/share/locale/bn/LC_MESSAGES/zypper.mo
/usr/share/locale/bs/LC_MESSAGES/zypper.mo
/usr/share/locale/ca/LC_MESSAGES/zypper.mo
/usr/share/locale/cs/LC_MESSAGES/zypper.mo
/usr/share/locale/cy/LC_MESSAGES/zypper.mo
/usr/share/locale/da/LC_MESSAGES/zypper.mo
/usr/share/locale/de/LC_MESSAGES/zypper.mo
/usr/share/locale/el/LC_MESSAGES/zypper.mo
/usr/share/locale/en_GB/LC_MESSAGES/zypper.mo
/usr/share/locale/es/LC_MESSAGES/zypper.mo
/usr/share/locale/et/LC_MESSAGES/zypper.mo
/usr/share/locale/fa/LC_MESSAGES/zypper.mo
/usr/share/locale/fi/LC_MESSAGES/zypper.mo
/usr/share/locale/fr/LC_MESSAGES/zypper.mo
/usr/share/locale/gl/LC_MESSAGES/zypper.mo
/usr/share/locale/gu/LC_MESSAGES/zypper.mo
/usr/share/locale/he/LC_MESSAGES/zypper.mo
/usr/share/locale/hi/LC_MESSAGES/zypper.mo
/usr/share/locale/hr/LC_MESSAGES/zypper.mo
/usr/share/locale/hu/LC_MESSAGES/zypper.mo
/usr/share/locale/id/LC_MESSAGES/zypper.mo
/usr/share/locale/ie/LC_MESSAGES/zypper.mo
/usr/share/locale/it/LC_MESSAGES/zypper.mo
/usr/share/locale/ja/LC_MESSAGES/zypper.mo
/usr/share/locale/ka/LC_MESSAGES/zypper.mo
/usr/share/locale/km/LC_MESSAGES/zypper.mo
/usr/share/locale/ko/LC_MESSAGES/zypper.mo
/usr/share/locale/ku/LC_MESSAGES/zypper.mo
/usr/share/locale/lt/LC_MESSAGES/zypper.mo
/usr/share/locale/mr/LC_MESSAGES/zypper.mo
/usr/share/locale/nb/LC_MESSAGES/zypper.mo
/usr/share/locale/nl/LC_MESSAGES/zypper.mo
/usr/share/locale/nn/LC_MESSAGES/zypper.mo
/usr/share/locale/pa/LC_MESSAGES/zypper.mo
/usr/share/locale/pl/LC_MESSAGES/zypper.mo
/usr/share/locale/pt/LC_MESSAGES/zypper.mo
/usr/share/locale/pt_BR/LC_MESSAGES/zypper.mo
/usr/share/locale/ro/LC_MESSAGES/zypper.mo
/usr/share/locale/ru/LC_MESSAGES/zypper.mo
/usr/share/locale/sk/LC_MESSAGES/zypper.mo
/usr/share/locale/sl/LC_MESSAGES/zypper.mo
/usr/share/locale/sr/LC_MESSAGES/zypper.mo
/usr/share/locale/sv/LC_MESSAGES/zypper.mo
/usr/share/locale/ta/LC_MESSAGES/zypper.mo
/usr/share/locale/th/LC_MESSAGES/zypper.mo
/usr/share/locale/tr/LC_MESSAGES/zypper.mo
/usr/share/locale/uk/LC_MESSAGES/zypper.mo
/usr/share/locale/wa/LC_MESSAGES/zypper.mo
/usr/share/locale/xh/LC_MESSAGES/zypper.mo
/usr/share/locale/zh_CN/LC_MESSAGES/zypper.mo
/usr/share/locale/zh_TW/LC_MESSAGES/zypper.mo
/usr/share/locale/zu/LC_MESSAGES/zypper.mo
/usr/share/man/man8/zypp-refresh.8.gz
/usr/share/man/man8/zypper.8.gz
/usr/share/zypper
/usr/share/zypper/xml
/usr/share/zypper/xml/xmlout.rnc
/usr/share/zypper/zypper.aug
/var/log/zypper.log

References

Summary

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