Appendix: Command-line options for mkinstpkg

The mkinstpkg tool creates a deployment package that end users can use to install Sophos Anti-Virus.

The default installation location is /opt/sophos-av/update.

Here is a full list of the command-line options you can use with mkinstpkg. = at the end of the option means it takes an argument.

Option

Description

-d, --debug

Use the --debug option when the Sophos Anti-Virus installer is run.

-h, --help

Output help text

-o=, --output=

Destination for the package

-r, --rpm

Build an RPM package

-D, --deb

Build a DEB package

--tar

Build a tar file (default)

--update-proxy-address=

Proxy address to use when installing Sophos Anti-Virus over HTTPS

--update-proxy-username=

Proxy username to use when installing Sophos Anti-Virus over HTTPS

--update-proxy-password=

Proxy password to use when installing Sophos Anti-Virus over HTTPS

--extra-options=

Extra installer options to use when installing Sophos Anti-Virus, for example: --extra-options="--preferFanotify"

-v, --verbose

Use the --verbose option when the Sophos Anti-Virus installer is run.

--rpm-version=

RPM version if building an RPM package

--rpm-release=

RPM release version if building an RPM package

--sophos

Update from Sophos rather than your own server

--update-type=

Specify where Sophos Anti-Virus will update from. Use "s" for updates from Sophos, or anything other than "s" for updates from your own server.

--sec-group=

The group that computers will be added to when Sophos Anti-Virus is installed