How to Install Vagrant on Debian Stretch 9 Easy Guide

April 29th, 2017 by thelinuxevangelist

Install Vagrant Debian Stretch 9




Hello Debian User! This Tutorial Shows You Step-by-Step How-to Install and Getting-Started with the Latest Vagrant Virtual Machines Management Tool on Debian 9 Stretch 32/64bit GNU/Linux Desktop.

And Vagrant for Debian 9 Stretch is a Tool that Makes it Easier to Run and Manage Virtual Machines on your computer.

Especially relevant: by Default Vagrant Works only with VirtualBox VMs, to get it Working with VMware or other Hypervisor you have to Install a Paid Plugin.

Furthermore to Get Installed right the Latest Vagrant Release for Xubuntu we Provide Directly to the Download from the Vagrant WebSite.

Finally the Vagrant main Features are:

  • Makes a VM with an OS of your choice
  • Changes the Settings of a VM (e.g., RAM, number of CPUs, etc.)
  • Settles Network Interfaces to access a VM from outside
  • Etablishes Shared Folders to exchange with your computer
  • Defines the Hostname of a VM
  • Provides Software for the VM by shell scripts or configuration management solutions
  • Operates specific Tweakings on hosts and guests
  • SSH into a VM from you computer
How to Install Vagrant on Debian Stretch 9  - Featured
  1. Open a Shell session
    (Press “Enter” to Execute Commands)

    Getting-Started with Vagrant for Debian 9 Stretch- Debian Gnome3 Open Terminal
  2. Download Latest Vagrant for Debian Linux

    Get Latest Vagrant .deb 32/64bit
  3. Check/Install GDebi Package Installer

    which gdebi

    If not there then:

    sudo apt install gdebi

    If Got “User is Not in Sudoers file” then Look: Solution

  4. Access the Target location
    (Usually Downloads go in the Home folder or the Temporary directory /tmp)

    cd ~/Downloads

    Or when downloaded with Firefox maybe:

    cd /tmp/mozilla*

    To Verify that it’s there List the contents with:

    ls .
  5. Vagrant Installation on Debian

    sudo gdebi ./vagrant*.deb

    The sudo Command is needed Only for an user Different from the root one…

  6. Finally Test Vagrant Installation

    vagrant -h

    But in case of Vagrant Help Ruby Gems Issue Fix with:

    sudo vagrant plugin install vagrant-share \
    --plugin-version 1.1.8
  7. How-to Install Required Oracle VirtualBox on Debian

    Oracle VirtualBox Installation
  8. How-to Getting-Started with Vagrant VMs Management

    Vagrant Getting-Started Guide

Tags: , , , , , , , , , , , , , , , , ,