Add installation scripts

Add compile.sh and install.sh installation scripts.
Check if user is root.

Installing packages, updating local caches and upgrading packages should
only be performed by the root user. Searching for packages can be
performed by non-priviliged users too.