2.2.1 Installing MetaDefender ICAP Server using the command line

Preliminary notes

If the MetaDefender ICAP Server package dependencies are not installed on your system you may need to have a working Internet connection or you may have to provide the Installation media during the installation. Consult your Operating System documentation on how to use Installation media as a package repository.

For each case below start with the following steps:

  1. Download mdicapsrv package from the OPSWAT Portal. Make sure that you download the applicable package for your distribution

  2. Upload the installation package to your test computers

  3. Install the product with the provided command (<filename> is the MetaDefender ICAP Server package you downloaded from our portal)

Debian / Ubuntu package (.deb)

$ sudo dpkg -i <filename> || sudo apt-get install -f

Red Hat Enterprise Linux / CentOS package (.rpm)

$ sudo yum install <filename>

Windows package (.msi)

On Windows systems it is possible to install the product by running the corresponding .msi file.

From command line interface it is also possible to install the product by executing

> msiexec /i <filename> <option key>=<option value>

where the possible option keys and their default option values are the following:


Default Value



REST interface binding address



REST interface binding port


ICAP interface binding address



ICAP interface binding port

For details on using msiexec please consult Windows installer documentation.