install prerequisites for snappy