Oracle VM VirtualBox is a free and open-source hypervisor for x86 computers currently being developed by Oracle Corporation.
VirtualBox may be installed on a number of host operating systems, including: Linux, macOS, Windows, Solaris, and OpenSolaris.
Vagrant is an open-source software product for building and maintaining portable virtual software development environments for VirtualBox, Hyper-V, Docker containers, VMware, and AWS which try to simplify software configuration management of virtualizations in order to increase development productivity. Vagrant is written in the Ruby language, but its ecosystem supports development in almost all major languages.
To install Virtualbox-5.2 and vagrant-2.1.1
Update ubuntu packages
sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get autoremove
Install headers
sudo apt-get -y install gcc make linux-headers-$(uname -r) dkms
Add virtualbox repository and key
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" >> /etc/apt/sources.list'
Install virtualbox
sudo apt-get update
sudo apt-get install virtualbox-5.2
Verify virtualbox version
VBoxManage -v
Install extension packages
curl -O http://download.virtualbox.org/virtualbox/5.2.0/Oracle_VM_VirtualBox_Extension_Pack-5.2.0-118431.vbox-extpack
sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.2.0-118431.vbox-extpack
VBoxManage list extpacks
Install vagrant
wget https://releases.hashicorp.com/vagrant/2.1.1/vagrant_2.1.1_x86_64.deb sudo dpkg -i vagrant_2.1.1_x86_64.deb
Verify vagrant version
vagrant -v
To install using ubuntu package list
sudo apt install virtualbox
sudo apt install vagrant
Note: If we try to install via package list its going to install old version.
To uninstall virtualbox and vagrant
sudo apt-get remove --purge virtualbox
sudo apt-get remove vagrant
References:
https://www.virtualbox.org/wiki/Linux_Downloads https://en.wikipedia.org/wiki/VirtualBox
https://en.wikipedia.org/wiki/Vagrant_(software)
Hello my friend! I want to say that this post is awesome, great written and include approximately all significant infos. I would like to look more posts like this .
LikeLike
Sure Thanks
LikeLike