# Vagrant installation requires wget

**URL:** https://meta.discourse.org/t/vagrant-installation-requires-wget/63225
**Category:** Development
**Created:** [May 23, 2017, 7:43pm UTC](https://meta.discourse.org/t/vagrant-installation-requires-wget/63225 "2017-05-23T19:43:44Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![GlitchMr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/glitchmr/32/96700_2.png) [@GlitchMr](https://meta.discourse.org/u/GlitchMr)
#### Post date: [May 23, 2017, 7:43pm UTC](https://meta.discourse.org/t/vagrant-installation-requires-wget/63225/1 "2017-05-23T19:43:44Z")

</div>

Without wget, Vagrant tries to download Discourse using some other way than wget (curl, perhaps?), and that for some reason doesn’t work (on Arch Linux, I wonder if it’s any different on other operating systems). Without it, “504 Gateway Timeout” happens. The solution is to install `wget`. Putting this thread, because this issue confused me for a while, and it magically solved itself when I installed `wget` - figured it may be useful for others.

```plaintext
~/K/F/discourse (master|✔) $ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'discourse-16.04' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Box file was not detected as metadata. Adding it directly...
==> default: Adding box 'discourse-16.04' (v0) for provider: virtualbox
    default: Downloading: https://www.dropbox.com/s/2132770g1e05c6d/discourse.box?dl=1
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

The requested URL returned error: 504 Gateway Timeout
~/K/F/discourse (master|✔) $ vagrant --version
Vagrant 1.9.4

```

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [May 23, 2017, 11:07pm UTC](https://meta.discourse.org/t/vagrant-installation-requires-wget/63225/2 "2017-05-23T23:07:29Z")

</div>

That seems like a vagrant bug, rather than a Discourse one – so far as I can tell from that output, it’s not even getting as far as running any of the Discourse code, because the box download is what is failing.
