1 # Installation{#install}
4 Here you may find the instructions to install the library on your environment.
7 The library is distributed as *libCAENMCA.so*.
10 Supported architectures:
16 * **gcc** or **clang** (any version supporting C99)
18 Additional libraries required:
19 * **libxml2** (version >= 2.6)
20 * **libgssdp-1.0** (version >= 0.2)
22 To install the dependencies on the main Linux distributions:
24 **Debian/Ubuntu** and derivatives:
26 $ sudo apt install gcc make pkg-config
27 $ sudo apt install libxml2-dev libgssdp-1.0-dev
30 **RHEL/CentOS/Fedora/SL** and derivatives:
32 $ sudo yum install gcc make pkgconf-pkg-config
33 $ sudo yum install libxml2-devel gssdp-devel
36 **Arch/Manjaro** and derivatives:
38 $ sudo pacman -S gcc make pkgconf
39 $ sudo pacman -S libxml2 gssdp
42 When all the dependencies are satisfied, extract the source code from the compressed archive,
43 enter the source folder (`libcaenmca-X.Y.Z`), and there compile the library executing the
47 $ tar xfvz libcaenmca-X.Y.Z.tar.gz
49 $ ./configure [--prefix=<installdir>]
54 \note If not set, the default `<installdir>` is set to `/usr`.
56 This will install both library and headers in the system folders.
59 The library is distributed as *CAENMCA.dll* (and the import library *CAENMCA.lib*).
62 Supported architectures:
66 Minimum platform toolset: **Visual Studio 2015** (14.0).
68 The library requires **libxml2**, that is included in the installer. No additional library is required.
71 Just use the installer provided.
73 \note The default install directory is set to `C:\Program Files\CAEN\Digitizers\CAENMCA`.