How Do You Install snap on a RHEL 8.x Server?

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.

Join the Conversation

1 Comment

Leave a comment

Your email address will not be published. Required fields are marked *