This site is for Avast Business products only. For articles on AVG Business products, see AVG Business Help. If you are in the right place but cannot find what you are looking for, please contact Avast Business Support for further assistance.

Licensing Antivirus for Linux

This Article Applies to:

  • Avast Business Antivirus for Linux

For full Linux-related documentation, see Avast Business Antivirus for Linux Technical Guide.


Using license.avastlic file

Access to program repositories are not restricted in any way. The latest packages are always available, but require a license file to run the components. The license file is named license.avastlic; when you have the file, copy it into the /etc/avast directory:

  • # cp /path/to/license.avastlic /etc/avast

Using activation code

In the event you were provided with an activation code instead of a license file, use the avastlic tool to download the license. For some codes this can only be done a limited number of times. Additionally, some activation codes require customer information to be entered, so the tool is by default interactive when the code mandates this information:

  • $ avastlic -f new_license_file_path/license.avastlic -c avast_activation_code
  • $ sudo cp new_license_file_path /etc/avast/license.avastlic

When running the avastlic command, you must specify the new file path and file name (license.avastlic) after -f; otherwise the download will fail.

If the downloaded license is valid for multiple machines, we recommend downloading the license once and then distributing the license file to other machines.

Manual page format

avastlic -f new_license_file_path -c avast_activation_code [-n]
avastlic -h


  • -f: File path to store the obtained license into
  • -c: Activation code valid for Avast Business Antivirus for Linux
  • -n: Non-interactive mode. If the activation code requires customer information, the activation will fail
  • -h or --help: Print help