Install Microsoft Fonts on Linux for LibreOffice
This guide provides the exact steps required to install proprietary Microsoft fonts, such as Calibri, Cambria, and Arial, on Linux systems. Following these instructions ensures proper document formatting, layout consistency, and seamless font rendering when working with Microsoft Office documents in LibreOffice.
Option 1: Install Open-Source Metric-Compatible Replacements (Recommended)
If you do not have access to a Windows license, you can install Google’s metric-compatible alternatives (Carlito for Calibri, and Caladea for Cambria). These fonts have identical spacing and dimensions, preventing formatting issues in LibreOffice.
Ubuntu / Debian / Linux Mint:
sudo apt update sudo apt install fonts-crosextra-carlito fonts-crosextra-caladeaFedora / RHEL:
sudo dnf install google-carlito-fonts google-caladea-fontsArch Linux / Manjaro:
sudo pacman -S ttf-carlito ttf-caladea
Option 2: Install Older Microsoft Core Fonts (Arial, Times New Roman, Comic Sans)
For legacy Microsoft fonts, install the official Microsoft TrueType core fonts package:
Ubuntu / Debian / Linux Mint:
sudo apt update sudo apt install ttf-mscorefonts-installer(Accept the EULA prompt using the Tab and Enter keys when it appears.)
Fedora:
sudo dnf install curl cabextract xorg-x11-font-utils fontconfig sudo rpm -i https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpmArch Linux:
yay -S ttf-ms-fonts
Option 3: Manually Install True Microsoft Calibri & ClearType Fonts
Because newer fonts like Calibri, Cambria, and Aptos are proprietary, they are not bundled in standard Linux repositories. You can manually copy them from an existing Windows installation.
Step 1: Copy Fonts from Windows
- Access a machine running Windows.
- Navigate to
C:\Windows\Fonts. - Locate and copy the following files to a USB drive or shared folder:
calibri.ttfcalibrib.ttf(Bold)calibrii.ttf(Italic)calibriz.ttf(Bold Italic)calibril.ttf(Light)calibrili.ttf(Light Italic)- (Optional) Copy any other desired
.ttfor.ttcfiles (e.g.,cambria.ttc,aptos.ttf).
Step 2: Place Fonts in the Linux Font Directory
On your Linux system, open the terminal and create a directory for Microsoft fonts:
For the current user only:
mkdir -p ~/.local/share/fonts/msfontsFor all system users (requires root privileges):
sudo mkdir -p /usr/local/share/fonts/msfonts
Copy the .ttf files into the newly created
directory.
Step 3: Refresh the Font Cache
Update your system’s font cache so applications recognize the new files:
fc-cache -f -vStep 4: Verify in LibreOffice
- Open LibreOffice Writer.
- Click the font drop-down menu in the toolbar.
- Scroll or search for Calibri.
- Select it and ensure text renders correctly.