Snap is available for Rocky Linux 8, a Linux distribution that’s being actively developed to provide binary compatibility with Red Hat Enterprise Linux (RHEL).
See also Installing snap on Red Hat Enterprise Linux.
The snap packages for Rocky Linux can be found in the Extra Packages for Enterprise Linux (EPEL) repository. The EPEL repository can be added to a Rocky Linux system with the following command:
$ sudo dnf install epel-release $ sudo dnf upgrade
If you use a root user rather than sudo to handle security privileges, run su first and remove sudo from subsequent commands.
If you’re interested in understanding how these packages are built, see Building a snap RPM for Red Hat Enterprise Linux (RHEL) 8.
With the EPEL repository added to your Rocky Linux installation, simply install the snapd package (as root/or with sudo):
$ sudo yum install snapd
Once installed, the systemd unit that manages the main snap communication socket needs to be enabled:
$ sudo systemctl enable --now snapd.socket
To enable classic snap support, enter the following to create a symbolic link between /var/lib/snapd/snap and /snap:
$ sudo ln -s /var/lib/snapd/snap /snap
Either log out and back in again or restart your system to ensure snap’s paths are updated correctly.
Snap is now installed and ready to go! If you’re using a desktop, a great next step is to install the Snap Store app.
When you think of notebooks with two storage drives, you probably imagine a bulky 17-inch system you can barely carry. However, a number of lightweight laptops, including the 14-inch, 3.6-pound Lenovo ThinkPad T440s, have M.2 (formerly known as mSATA) slots which can be used to install a tiny SSD on a chip. You can pair this second drive with the 2.5-inch hard disk or SSD the T440s came with and even transfer the operating system to it so you can use it as a boot drive. Here's how to install an M.2 SSD in your Lenovo ThinkPad T440s.
ادامه نوشته