Snap install

Edited the install script to install into a chroot environment to facilitate building a rpm package using fpm.