Install VirtualBox and Vagrant on Linux Mint 17.3

In howto on Jan 16, 2016 by theoryl Tagged: , , , , , ,

Another day working with virtual machines, another install log. My host machine is Linux Mint 17.3, based on Ubuntu Linux 14.04. The guest machine I’m planning to use is CentOS 6.7.

Firstly I have to install VirtualBox 5.0. Oracle provides pre-built VirtualBox package to Debian/Ubuntu distros, see here. My installation notes:

# Add /etc/apt/sources.list.d/virtualbox.list
sudo vim /etc/apt/sources.list.d/virtualbox.list

# Ubuntu Trusty
#deb trusty contrib

# Add the Oracle public key
wget -q -O- | sudo apt-key add -

sudo apt-get update
sudo apt-get install virtualbox-5.0

Secondly I have to install Vagrant by HashiCorp. The latest version is available for download as .deb packages.

# Download

# Verify SHA256 checksums
sha256sum -c vagrant_1.8.1_SHA256SUMS

# Install
sudo dpkg -i vagrant_1.8.1_x86_64.deb

Thirdly, install Packer also by HashiCorp. Download the .zip file that contains the binary programs.

# Download

# Verify SHA256 checksums
sha256sum -c packer_0.8.6_SHA256SUMS 

# Unzip

# Add the executables to $PATH
export PATH=$PATH:$PWD

You can also download pre-built Vagrant boxes from Hashicorp Atlas. For instance, here is an official Ubuntu Server 14.04 LTS image:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: