From cc5212fdb1a9165b1b4f63ad21198172a068ee43 Mon Sep 17 00:00:00 2001 From: Felix Reichmann <54814163+Van-Fouran@users.noreply.github.com> Date: Tue, 16 Aug 2022 08:21:55 +0200 Subject: Documentation overwork (#953) Github PR: https://github.com/veracrypt/VeraCrypt/pull/953 * Create CompilingGuidelinerh * Initial Upload Windows Compiling Guide * Removed RIPEMD-160 from Product64.wxs. See commit from 21.03.2022 * Completed Win compiling guideline * Added link to detailed compiling guide * Added link to detailed compiling guide * Restructured docu main page * Added sourceforge link * Added compiling guide for Linux * References to detailed instructions * Revert "Removed RIPEMD-160 from Product64.wxs. See commit from 21.03.2022" This reverts commit 024ae2a4659a6d9e65673531338e10bd10b8a3a0. * Correction of a div box --- doc/html/CompilingGuidelineLinux.html | 329 ++++++++++++++++++++++++++++++++++ 1 file changed, 329 insertions(+) create mode 100644 doc/html/CompilingGuidelineLinux.html (limited to 'doc/html/CompilingGuidelineLinux.html') diff --git a/doc/html/CompilingGuidelineLinux.html b/doc/html/CompilingGuidelineLinux.html new file mode 100644 index 00000000..a8460518 --- /dev/null +++ b/doc/html/CompilingGuidelineLinux.html @@ -0,0 +1,329 @@ + + + + + + + +VeraCrypt - Free Open source disk encryption with strong security for the Paranoid + + + + + + +
+VeraCrypt +
+ + + +
+

+Documentation +>> +Compiling Gudineline for Linux +

+ +
+This guide describes how to set up a Linux System that can compile the VeraCrypt. Further it is described how VeraCrypt is going to be compiled.
+The procedure for a Ubuntu 22.04 LTS system is described here as an example, but the procedure for other Linux systems is analogous. +
+ +
+
+
+The following components are required for compiling VeraCrypt: +
    +
  1. GNU Make
  2. +
  3. GNU C++ Compiler 4.0
  4. +
  5. YASM 1.3.0
  6. +
  7. pkg-config
  8. +
  9. wxWidgets 3.2 shared library and header files installed or wxWidgets 3.0 library source code
  10. +
  11. FUSE library and header files
  12. +
+
+ +
+If you do not want to perform the single steps below, you can run these commands to build an environment and to compile VeraCrpyt:
+Download as script: Script
+ +sudo apt update
+sudo apt install -y build-essential yasm pkg-config libgtk-3-dev
+wget https://github.com/wxWidgets/wxWidgets/releases/download/v3.2.0/wxWidgets-3.2.0.tar.bz2
+tar -xf wxWidgets-3.2.0.tar.bz2
+cd wxWidgets-3.2.0
+mkdir gtk-build
+cd gtk-build
+../configure
+make
+sudo make install
+sudo ldconfig
+cd ../..
+rm -r wxWidgets-3.2.0
+rm wxWidgets-3.2.0.tar.bz2
+sudo apt install -y libfuse-dev git
+git clone https://github.com/veracrypt/VeraCrypt.git +cd ~/VeraCrypt/src
+make +
+
+ +
+
+ Installation of GNU Make + Installation of GNU Make +
+

+

    +
  1. + Open a terminal +
  2. +
  3. + Execute the following commands:
    + + sudo apt update
    + sudo apt install build-essential +
    +
  4. +
+

+
+
+ +
+ Installation of GNU C++ Compiler 4.0 + Installation of GNU C++ Compiler 4.0 +
+

If the build-essential were already installed in the step before, this step can be skipped. +

    +
  1. + Open a terminal +
  2. +
  3. + Execute the following commands:
    + + sudo apt update
    + sudo apt install build-essential +
    +
  4. +
+

+
+
+ +
+ Installation of YASM + Installation of YASM +
+

+

    +
  1. + Open a terminal +
  2. +
  3. + Execute the following commands:
    + + sudo apt update
    + sudo apt install yasm +
    +
  4. +
+

+
+
+ +
+ Installation of pkg-config + Installation of pkg-config +
+

+

    +
  1. + Open a terminal +
  2. +
  3. + Execute the following commands:
    + + sudo apt update
    + sudo apt install pkg-config +
    +
  4. +
+

+
+
+ +
+ Installation of wxWidgets 3.2 + Installation of wxWidgets 3.2 +
+

+

    +
  1. + Open a terminal +
  2. +
  3. + Execute the following commands:
    + + sudo apt install libgtk-3-dev
    + wget https://github.com/wxWidgets/wxWidgets/releases/download/v3.2.0/wxWidgets-3.2.0.tar.bz2
    + tar -xf wxWidgets-3.2.0.tar.bz2
    + cd wxWidgets-3.2.0
    + mkdir gtk-build
    + cd gtk-build
    + ../configure
    + make
    + sudo make install
    + sudo ldconfig
    + cd ../..
    + rm -r wxWidgets-3.2.0
    +
    +
  4. +
+

+
+
+ +
+ Installation of libfuse + Installation of libfuse +
+

+

    +
  1. + Open a terminal +
  2. +
  3. + Execute the following commands:
    + + sudo apt update
    + sudo apt install libfuse-dev +
    +
  4. +
+

+
+
+ +
+ Download VeraCrypt + Download VeraCrypt +
+

+

    +
  1. + Open a terminal +
  2. +
  3. + Execute the following commands:
    + + sudo apt update
    + sudo apt install git
    + git clone https://github.com/veracrypt/VeraCrypt.git +
    +
  4. +
+

+
+
+ +
+ Compile VeraCrypt + Compile VeraCrypt +
+

Remarks:
+

    +
  • + If you have not installed wxWidgets like described here, you may have to modify the make statement to reference to the right file:
    + make WXSTATIC=1 +
  • +
  • + By default, a universal executable supporting both graphical and text user interface (through the switch --text) is built.
    + On Linux, a console-only executable, which requires no GUI library, can be built using the 'NOGUI' parameter:
    + + make NOGUI=1 WXSTATIC=1 WX_ROOT=/usr/src/wxWidgets wxbuild
    + make NOGUI=1 WXSTATIC=1 +
    +
  • +
+ Steps: +
    +
  1. + Open a terminal +
  2. +
  3. + Execute the following commands:
    + + cd ~/VeraCrypt/src
    + make +
    +
  4. +
  5. + If successful, the VeraCrypt executable should be located in the directory 'Main'. +
  6. +
+

+
+
+ +
+ -- cgit v1.2.3