Search code examples
ubuntuvagrantubuntu-16.04permission-denied

Cannot start Vagrant (Ubuntu 16.04)


In installed Vagrant via

> sudo apt-get install vagrant

But when I tried to start vagrant with any parameter (e.g vagrant init ), I got always following error:

bash: /usr/bin/vagrant: /usr/bin/ruby: bad interpreter: Permission denied

What could be wrong ? Thank you in advance for your answers !


Solution

  • Don't install Vagrant from repository but download the last stable version from Download Vagrant page.

    Download Vagrant Debian package 64-bit or 32-bit , according your architecture, then install that.