In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "how to install Snapd and snap applications on CentOS7" related knowledge, Xiaobian through the actual case to show you the operation process, the method of operation is simple and fast, practical, I hope that this "how to install Snapd and snap applications on CentOS7" article can help you solve the problem.
The Snap package is a new application format package introduced when Ubuntu 16.04 LTS was released. At present, it is popular in Ubuntu and installs snap applications through snapd on other Linux distributions such as Debian, Arch Linux, Fedora, Kaili Linux, openSUSE, Red Hat and so on.
1. First install the COPR plug-in and EPEL, and start the installation by adding the epel repository and installing the copr yum plug-in, and run the following command:
Sudo yum install epel-release sudo yum install yum-plugin-copr2, and then add repo:
Sudo yum copr enable ngompa/snapcore-el73, after adding the repository, install the snapd package and run the following command:
Sudo yum-y install snapd4, wait for the installation to complete and enable snapd socket:
Sudo systemctl enable-- now snapd.socket5, the restriction needs to be from / snap to / snap under / var/lib/snapd/snap or snaps under symbolic link, and create a symbolic link for it, as follows:
Sudo ln-s / var/lib/snapd/snap / snap does this, and Snapd has been installed.
Attached: usage and parameters of snap
Snap-- help application option:-- version-- print version and exit help option:-h -- help-- displays the commands available for this help message: abort-- aborts pending changes to ack--Adds an assertion to the system alias--Sets up a manual alias aliases--Lists aliases in the system buy--Buys a snap changes--List system changes connect--Connects a plug to a slot disable--Disables a snap in the system disconnect--Disconnects a plug from a slot download--Downloads the given snap enable--Enables a snap in the System find--Finds packages to install (aliases: search) get--Prints configuration options help-- help info--show detailed information about a snap install--Installs a snap to the system interface--Lists snap interfaces interfaces--Lists interfaces in the system known--Shows known assertions of the provided type list--List installed snaps login--Authenticates on snapd and the store logout--Log out of the store logs--Retrieve logs of services pack--pack the given target dir as a snap Prefer--Prefer aliases from a snap and disable conflicts refresh--Refreshes a snap in the system remove--Removes a snap from the system restart--Restart services revert--Reverts the given snap to the previous state run--Run the given snap command services--Query the status of services set--Changes configuration options start--Start services stop--Stop services switch--Switches snap to a different channel tasks--List a change's tasks (aliases: change) try--Tests a snap in the System unalias--Unalias a manual alias or an entire snap version-- Shows version details watch--Watch a change in progress whoami--Prints the email the user is logged in with. At present, Ubuntu-related products have been released in the form of snap packages, such as Ubuntu MAAS,Juju,Multipass,MicroK8s,MicroStack and so on.
That's all for "how to install Snapd and snap applications on CentOS7". Thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.