RHEL 安装 SNAP
一、安装
1. CentOS 7
(1) 安装epel库
sudo yum install epel-release -y
(2) 安装yum插件copr
sudo yum install yum-plugin-copr -y
(3) 添加仓库
sudo yum copr enable ngompa/snapcore-el7
(4) 安装snapd
sudo yum -y install snapd
2. RHEL 8
(1) 添加epel库
sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo dnf -y upgrade
(2) 安装snapd
sudo dnf -y install snapd
3. RHEL 9
(1) 安装epel库
sudo dnf install epel-release -y
sudo dnf upgrade
(2) 安装snapd
sudo yum install snapd -y
4. 配置
(1) 启用snapd socket
sudo systemctl enable --now snapd.socket
(2) 创建软连接
sudo ln -s /var/lib/snapd/snap /snap
5. 验证安装
snap --help
四、参考
https://computingforgeeks.com/install-snapd-snap-applications-centos/