Skip to main content

1.1 Installing xva-img from source

Objective: Install xve-image from source on an ubuntu 20.04 LTS machine in order to convert from XVA to a VMDK to be imported in VMWorkstation

Step 1. Navigate to eriklax/xva-img: XVA (Citrix Xen format) virtual disk tool. Supports RAW disk image exports and imports. (github.com) and download the entire zip file of the repository. In this situation, I am using wget on the Linux machine to download in my current directory.
Step 2. From terminal, unzip everything to whatever directory you want. I chose '/opt'
change directory to where the zip file is located. 
cd /opt/xva-img
Unzip the Master zip file you just downloaded from git
unzip master.zip
Step 3. Change directory into the unzipped directory of 'xva-img-master'
Step 4. Install the dependencies for xva-img as noted on the github page, and install from source
  • sudo apt update && sudo apt install cmake g++ libssl-dev libxxhash-dev
  • Once installation has completed, you will build from source to install
  • Note: It will be easier to run as root from this point

    • Change directory into the xva-img repositry folder
      • cd /opt/xva-img/xva-img-master
    • Build 
      • cmake .
      • make
      • make install

This is the final step installing xva-img on to your machine.