Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Vagrant is a tool to build and manage virtual machines for developers. It has a getting started on Ubuntu guide that contains iffy-looking suggestions like

$ sudo ln -s /usr/bin/ruby1.8 /usr/bin/ruby  # wtf???

or installing RubyGems from source rather than from Ubuntu packages, and then using gem install to install vagrant itself.

I'm not feeling comfortable just following those instructions. Is there perhaps a PPA? Are there, perhaps, alternative tools that are packaged for Ubuntu?

share|improve this question
up vote 9 down vote accepted


Vagrant install vagrant 1.0.1 is now included in universe in 12.04 and you can install this via the Software Center.

share|improve this answer
I can't make up my mind if I should mark your answer as accepted now, or wait until 12.04 will actually be released. – Marius Gedminas Apr 6 '12 at 18:09
The official packages are so old, it is better to download directly from – Willian Mitsuda Sep 23 '13 at 0:41

Nowadays you can download self-contained .deb files from

Not as good as a PPA, but at least you can introspect what files get installed where and remove the package cleanly.

share|improve this answer
Vagrant's failure to provide installation packages via a channel which allows for notification of future security problems is a concern. – mc0e Jan 20 '15 at 3:59
I thought many PPA's were made by the community. Couldn't someone just maintain this? – Jonathan Leaders Jun 25 at 19:28

There is nothing to worry about the instructions in this getting started on Ubuntu guide. Making a soft link to /usr/bin/ruby1.8 does not harm your system in anyway. Just go ahead with the tutorial and install vagrant.To install vagrant you can use:

  sudo gem install vagrant

As far as i know there is no PPA available for vagrant. The best method to install it is using the gem.

If you are feeling any difficulties feel free to post it here

share|improve this answer
Did that, found out Vagrant refuses to work with virtualbox-ose and wants me to install the closed-source version. Shrugged, uninstalled Vagrant. – Marius Gedminas Nov 13 '10 at 19:00
"Thanks for wanting to use Vagrant! Unfortunately, this is not the way to install Vagrant anymore. We now make installers for the various operating systems Vagrant supports. Vagrant is no longer distributed as a RubyGem.[...] Note that the RubyGem version hasn't been updated in over a year and will no longer receive any updates. – hwjp Apr 1 '14 at 16:58

If you are using Ruby:

It's better to install it via Rubygems despite the website's recommendation of .deb installation. The website seems to be a little behind on updates. The instructions of the vagrant gem seem more up-to-date:

If Bundler is installing a sub-1.0.0 version of the gem:

  • put gem 'vagrant' above all other gems in your Gemfile and run bundle install.
  • if that still doesn't work, put gem 'vagrant', '~> 1.0' and run bundle install.

Sometimes bundler installs an old version of the vagrant gem if your other gems installed old versions of gems, like json.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.