In this video, we demonstrate to you how to install Snapcraft using Snap, Apt, and Yum on Ubuntu and CentOS 7.
Commands used:
CentOS 7
yum update -y
yum install -y snapd
systemctl enable --now snapd.socket
ln -s /var/lib/snapd/snap /snap
exec bash
snap install snapcraft --classic
snapcraft -h
=====================================
Ubuntu 18.04 LTS
apt-get update -y
snap --version
(use if error - apt-get install snapd -y)
snap install snapcraft --classic
snapcraft --help
snap info hello-world
snap install hello-world
The related article for this article can be found here: https://www.liquidweb.com/kb/how-to-install-snapcraft-on-ubuntu-centos/
For more information about this and other topics, visit us at https://www.liquidweb.com/kb/ or
For more information on our managed products, visit: https://www.liquidweb.com/products/managed-wordpress/
Also, check out our current specials!
Video by: Justin Palmer
About the Author
More Content by Liquid Web