Quick Start
DMPACK has to be compiled from source. On Ubuntu 24.04 LTS, run the following commands to build and install DMPACK. First, install the dependencies:
$ sudo apt-get install gcc gfortran make pkg-config
$ sudo apt-get install --no-install-recommends curl ffmpeg gnuplot ghostscript \
graphicsmagick groff gsfonts lua5.4 sqlite3 zip libblas-dev liblapack-dev \
libcurl4t64 libcurl4-openssl-dev libfcgi-bin libfcgi-dev libhdf5-103-1t64 \
libhdf5-dev liblua5.4 liblua5.4-dev libmodbus5 libmodbus-dev libpcre2-8-0 \
libpcre2-dev libsqlite3-0 libsqlite3-dev libstrophe0 libstrophe-dev \
libzmq3-dev libzmq5 libzstd1 libzstd-dev zlib1g zlib1g-dev
Then, download and build DMPACK v2:
$ cd /tmp/
$ curl -O -L https://github.com/dabamos/dmpack/archive/refs/heads/v2.zip
$ unzip v2.zip
$ cd dmpack-2/
$ make linux
If the host platform is 64-bit ARM (AArch64), run instead:
$ make linux_aarch64
Install the DMPACK library and programs to /opt:
$ sudo make install PREFIX=/opt
Verify the configuration by executing script runtests.sh in /tmp/dmpack-master. You can now
use any DMPACK program, for example:
$ /opt/bin/dminfo
Add path /opt/bin to the PATH environment variable in /etc/profile or
~/.profile. See the next section for complete installation instructions.