How can i install SNAP on Linux (CentOS/Ubuntu)

Snap is containerized software packages that are simple to create & install. Snap packages are safe to run, they auto-update & we can also roll-back the changes easily. Snap is a bundle of an app and its dependencies in a single package that works without any modification across many Linux distributions. Snap comes from Snappy which is used as a package management system originally designed for Ubuntu phone operating system.