Building Pre-requisites
TAVM is written in Golang and Python. It also uses Bash scripts to manage the different adapters, thus a Linux environment is required.
The following software is required to build and run TAVM:
- Linux and Bash (tested on Ubuntu 22.04 and Archlinux)
- Golang 1.21 or higher
- Python 3.11 or higher
- Make
Installing Golang
Check the official Golang documentation for installation instructions.
You can download the latest release (at least version 1.21) from here. Then install it on Ubuntu 22.04 using the following commands:
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.21.4.linux-amd64.tar.gz
~/.profile file:
export PATH=$PATH:/usr/local/go/bin
Installing Python
Check the official Python documentation for installation instructions.
You can install the latest release (at least version 3.11) on Ubuntu 22.04 using the following commands:
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install python3.11
Installing Make
Make is usually installed by default on most Linux distributions. If not, you can install it using the following command:
sudo apt-get install build-essential