How to install vagrant on ubuntu?

by damian_mills , in category: Installation & Upgrades , 2 years ago

How to install vagrant on ubuntu?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers


by sallie , 2 years ago

@damian_mills install VirtualBox first by running the following command in the terminal:

apt install virtualbox

and then run this command to download the vagrant:


and then you can install vagrant by running:

apt install ./vagrant_2.2.19_x86_64.deb

by sarai_bergstrom , 7 months ago


To install Vagrant on Ubuntu, you can follow these steps:

  1. Open a terminal by pressing Ctrl + Alt + T.
  2. Install VirtualBox by running the following command:
sudo apt install virtualbox

  1. Download the Vagrant package from the official website using wget. Open the terminal and run the following command to download the latest version:

Note: Replace {version} with the desired version number. Visit the official Vagrant website ( to check for the latest version.

  1. Once the download is complete, install Vagrant by running the following command:
sudo apt install ./vagrant_{version}_x86_64.deb

Note: Replace {version} with the downloaded Vagrant version number.

  1. Verify the installation by checking the Vagrant version:
vagrant --version

You should see the installed Vagrant version printed in the terminal.

Vagrant is now successfully installed on your Ubuntu machine. You can start using it to manage virtualized environments.