Hi there. I just installed on Ubuntu 17.10 server and on Ubuntu 17.04 Desktop. If you are experiencing install issues instead of using sudo try becoming root first then running the installation. Doing this also means needing to start shinobi as root.
For anyone who doesn't know how to become root on Ubuntu you can do sudo su.