How To Install Snapcraft on CentOS/Ubuntu

October 10, 2019 Liquid Web

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

Liquid Web

Liquid Web powers online content, commerce, and potential for SMB entrepreneurs and the designers, developers and digital agencies who create for them. Sign up for our newsletter to stay up to date with our latest content.

More Content by Liquid Web
Previous Video
Installing Python WSGI Applications on cPanel
Installing Python WSGI Applications on cPanel

In this article, we will be installing a simple Python app on a cPanel server utilizing WSGI or Web Server ...

Next Video
How To Enable The EPEL Repository On CentOS
How To Enable The EPEL Repository On CentOS

In this video, we describe how to add the EPE: repository. The EPEL repository is an additional package rep...

Learn What Qualities to Look for in Your Next Host in Our New Guide!

Download Now