How to install msttcore-fonts on Linux systems?

This article applies to all MetaDefender Core V5 releases deployed on Linux systems.

To apply non-English watermarks (e.g., Hebrew, Japanese) in P-DLP or to resolve issues where text becomes corrupted (e.g., characters overlapping) after OCR, additional fonts from Microsoft must be installed on your Linux system.

Installation Instructions

  1. Debian/Ubuntu-based Systems

To install the required font, please issue the following commands.

Bash
Copy

In case you get an error like Package ttf-mscorefonts-installer is not available..., please enable the contrib repository, which contains ttf-mscorefonts-installer, by adding contrib to the repository lines in /etc/apt/sources.list (see below) and then run sudo apt update.

Bash
Copy
  1. RHEL based systems

Please first take a look at the package and its content/dependencies to ensure it complies with your regulations.

First, you need to install the dependencies:

Bash
Copy

Once the dependencies have been installed, you can install the .rpm package itself:

Bash
Copy
  1. RHEL 9 system

First, install the required dependencies:

Bash
Copy

If you get the following error: No match for argument: cabextract you need to enable the EPEL repository:

Bash
Copy

Then, try to install The cabextract again:

Bash
Copy

The xorg-x11-font-utils is also a dependency for the msttcore-fonts-installer, but it is not available in any base RHEL 9 repository, so you need to install the following tools:

Bash
Copy

When you install the msttcore fonts RPM, you need to use the --nodeps option so the installation won’t fail because of the missing xorg-x11-font-utils:

Bash
Copy

If Further Assistance is required, please proceed to log a support case or chat with our support engineer.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard