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.

Installing avast-license Package

The avast-license package contains the avastlic tool, which is a standalone command-line tool that helps with downloading the license file when you have an activation code or a wallet key.

Install the avast-license package to utilize the avastlic tool for licensing the product:

  • Debian/Ubuntu: apt install avast-license
  • RHEL/CentOS: yum install avast-license

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 (named license.avastlic) to run the components. When you have the file, copy it into the /etc/avast directory:

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

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 (can be downloaded from the avast-license package). For some codes, this can only be done a limited number of times. Also, some activation codes require customer information to be entered, so the tool is by default interactive when the code mandates the below information:

  • $ avastlic -o ~/license.avastlic -c activation_code
  • $ sudo cp ~/license.avastlic /etc/avast/license.avastlic

When running the avastlic command, you must specify the new file path and file name (license.avastlic) after -o. 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 all the machines.

You can run avastlic tool on a different machine than where the license will be used.

Manual Page Format

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


  • -o, -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