1. Download the source files
git clone https://github.com/QuantumPackage/qp2.git
  1. Install the dependencies
./configure   # tells you what to install. See in INSTALL.rst
  1. USE AT YOUR OWN RISK, NO SUPPORT WILL BE PROVIDED
./configure --install something
  1. The following libraries are needed for the ocaml package

    • zlib1g-dev
    • libncurses5-dev
    • pkg-config
    • libgmp3-dev
    • m4
  2. Once the smiling cow appears, load the environment variables

source quantum_package.rc
  1. Define your compilation configuration file
./configure -c ./config/a_file.cfg
  1. Compile with Ninja
ninja