Problem scenario
You want to use Juju (e.g., to install Kubernetes in AWS). You are using RHEL 8.x. What should you do?
Solution
Run these commands:
sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo dnf upgrade
sudo yum install snapd
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap
Log out and log back in.
Great step-by-step guide on installing Snap on a RHEL 8.x server, it was super helpful!