doc/html/en/CompilingGuidelineLinux.html
Documentation Technical Details Building VeraCrypt From Source Linux Build Guide
This guide describes how to set up a Linux System to build VeraCrypt from source and how to perform compilation.
The procedure for a Ubuntu 22.04 LTS system is described here as an example, the procedure for other Linux systems is analogous.
The following components are required for compiling VeraCrypt:
Below are the procedure steps. Clicking on any of the link takes directly to the related step:
They can also be performed by running the below list of commands in a terminal or by copying them to a script:
sudo apt update sudo apt install -y build-essential yasm pkg-config libwxgtk3.0-gtk3-dev sudo apt install -y libfuse-dev git libpcsclite-dev git clone https://github.com/veracrypt/VeraCrypt.git cd ~/VeraCrypt/src make
sudo apt update sudo apt install build-essential Installation of GNU C/C++ Compiler
If the build-essential were already installed in the step before, this step can be skipped.
sudo apt update sudo apt install build-essential sudo apt update sudo apt install yasm sudo apt update sudo apt install pkg-config sudo apt update sudo apt install libwxgtk3.0-gtk3-dev sudo apt update sudo apt install libfuse-dev sudo apt update sudo apt install libpcsclite-dev sudo apt update sudo apt install git git clone https://github.com/veracrypt/VeraCrypt.git Remarks:
make NOGUI=1 WXSTATIC=1 WX_ROOT=/path/to/wxWidgetsSources wxbuild make NOGUI=1 WXSTATIC=1 WX_ROOT=/path/to/wxWidgetsSources make WXSTATIC=1 WX_ROOT=/path/to/wxWidgetsSources wxbuild make WXSTATIC=1 WX_ROOT=/path/to/wxWidgetsSources Steps:
cd ~/VeraCrypt/src make