How To Install Snapcraft on CentOS/Ubuntu

Your video will begin in 10
67 Views
Published
In this video, we demonstrate to you how to install Snapcraft using Snap, Apt, and Yum on Ubuntu and CentOS 7.

Commands used:

CentOS7 Commands:
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 Commands:

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
Category
Liquid Web
Tags
liquidweb, datacenter, web
Be the first to comment