See Fedora
Fedora Linux$ sudo dnf install dnf-plugins-core -y
https://snapcraft.io/docs/installing-snap-on-fedora
We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:
sudo password for Linux username:
Last metadata expiration check: 3:29:49 ago on Sat 18 Sep 2021 05:23:15 PM PDT.
DNF Package dnf-plugins-core-4.0.19-1.fc34.noarch is already installed.
Complete!
$ sudo dnf upgrade -y
Last metadata expiration check: 3:30:12 ago on Sat 18 Sep 2021 05:23:15 PM PDT.
Dependencies resolved.
Package Arch Version Repo Size
noarch 1:1.30.6-1.fc34 updates 12 k
NetworkManager-libnm x86_64 1:1.30.6-1.fc34 updates 1.6 M
NetworkManager-ppp x86_64 1:1.30.6-1.fc34 updates 35 k
NetworkManager-ssh x86_64 1.2.12-1.fc34 updates 69 k
NetworkManager-ssh-gnome x86_64 1.2.12-1.fc34 updates 31 k
NetworkManager-team x86_64 1:1.30.6-1.fc34 updates 30 k
NetworkManager-wifi x86_64 1:1.30.6-1.fc34 updates 106 k
NetworkManager-wwan x86_64 1:1.30.6-1.fc34 updates 58 k
PackageKit x86_64 1.2.4-2.fc34 updates 601 k
PackageKit-command-not-found x86_64 1.2.4-2.fc34 updates 23 k
PackageKit-glib x86_64 1.2.4-2.fc34 updates 156 k
PackageKit-gstreamer-plugin x86_64 1.2.4-2.fc34 updates 18 k
PackageKit-gtk3-module x86_64 1.2.4-2.fc34 updates 16 k
Installing Ansible on Fedora Linux - Installing Ansible on Fedora
sudo password for Linux username:
Last metadata expiration check: 1:41:48 ago on Sat 18 Sep 2021 08:59:09 PM PDT.
Package - Architecture - Version - Repository - Size
Transaction Summary
Install 14 Packages
Total download size: 23 M
Installed size: 130 M
Downloading Packages:
Installed:
Complete!