How To Install reg on Fedora 36
Introduction
In this tutorial we learn how to install reg on Fedora 36.
What is reg
Docker registry v2 command line client and repo listing generator with security checks.
We can use yum or dnf to install reg on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install reg.
Install reg 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 reg using dnf by running the following command:
sudo dnf -y install reg
Install reg 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 reg using yum by running the following command:
sudo yum -y install reg
How To Uninstall reg on Fedora 36
To uninstall only the reg package we can use the following command:
sudo dnf remove reg
reg Package Contents on Fedora 36
/etc/sysconfig/reg-server
/usr/bin/reg
/usr/lib/.build-id
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/f09c99408ccd6d498dcc05dd39e44d79d8995e
/usr/lib/systemd/system/reg-server.service
/usr/share/doc/reg
/usr/share/doc/reg/Dockerfile
/usr/share/doc/reg/Makefile
/usr/share/doc/reg/README.md
/usr/share/licenses/reg
/usr/share/licenses/reg/LICENSE
/var/lib/reg-server/static
/var/lib/reg-server/static/css
/var/lib/reg-server/static/css/bootstrap-theme.css
/var/lib/reg-server/static/css/bootstrap-theme.min.css
/var/lib/reg-server/static/css/bootstrap.css
/var/lib/reg-server/static/css/bootstrap.min.css
/var/lib/reg-server/static/css/search.svg
/var/lib/reg-server/static/css/styles.css
/var/lib/reg-server/static/css/styles.less
/var/lib/reg-server/static/favicon.ico
/var/lib/reg-server/static/js
/var/lib/reg-server/static/js/lib
/var/lib/reg-server/static/js/lib/jquery-1.9.1.min.js
/var/lib/reg-server/static/js/scripts.js
/var/lib/reg-server/templates
/var/lib/reg-server/templates/repositories.html
/var/lib/reg-server/templates/tags.html
/var/lib/reg-server/templates/vulns.html
References
Summary
In this tutorial we learn how to install reg on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).