This installation procedure explains how to compile and install the software on a Linux system. The procedure has been tested on Ubuntu Focal Fossa (20.04 LTS). For other Linux distributions, some adjustments might be required.
Open a console and enter:
$ sudo apt-get install build-essential
$ sudo apt-get install cmake
$ sudo apt-get install libjack-jackd2-dev
$ sudo apt-get install libasound2-dev
$ sudo apt-get install libboost-program-options-dev
Open a console and enter:
$ git clone --recurse-submodules https://github.com/free-creations/a2jmidi.git
Note: if you pass --recurse-submodules
to the git clone
command,
it will automatically initialize and update the
gtest test-framework
and the
Spdlog logging-framework.
$ mkdir build
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX=/usr ../
$ make
$ sudo make install
$ sudo sudo mandb
$ whereis a2jmidi
a2jmidi: /usr/bin/a2jmidi /usr/share/man/man1/a2jmidi.1q