Skip to content

About

Packaging and installer scripts for Microsoft TrueType Core Fonts (Arial, Times New Roman, Verdana, etc.) on Linux.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

44 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

msttcore-fonts

Packaging and installer scripts for Microsoft TrueType Core Fonts
(Arial, Verdana, Calibri, Cambria, Candara, Consolas, Constantia, Corbel, etc.) on Linux.

Builds packages:

  • DEB ttf-mscorefonts-installer
  • RPM msttcore-fonts-installer

Install on Rocky Linux 10

sudo dnf install epel-release
sudo dnf install https://github.com/isboston/msttcore-fonts/releases/download/fonts/msttcore-fonts-installer-2.6-1.noarch.rpm

On Fedora 45, run only the second command.

Tested on

Distribution Download
Fedora 45, Rocky Linux 10.3 (with EPEL) RPM 2.6-1
Debian 13, Ubuntu 24.04 LTS DEB 3.8.2

License

Scripts are released under the MIT License. Microsoft Core Fonts are distributed under the Microsoft EULA and are not included in this repository.

Prebuilt packages

You can download ready-made DEB/RPM packages from GitHub Releases:

Build (on Ubuntu 24.04)

Install build dependencies:

sudo apt-get update
sudo apt-get install -y build-essential debhelper cabextract fontconfig rpm

Clone and build both packages:

git clone https://github.com/isboston/msttcore-fonts.git
cd msttcore-fonts
bash build.sh rpm deb

Build only DEB:

bash build.sh deb

Build only RPM:

bash build.sh rpm

Resulting artifacts:

  • DEB dist/debbuild/ttf-mscorefonts-installer_3.8.2_all.deb
  • RPM dist/rpmbuild/RPMS/noarch/msttcore-fonts-installer-2.6-1.noarch.rpm

Install and check on Debian/Ubuntu

Download and install the release package:

wget https://github.com/isboston/msttcore-fonts/releases/download/fonts/ttf-mscorefonts-installer_3.8.2_all.deb
sudo apt install ./ttf-mscorefonts-installer_3.8.2_all.deb fontconfig

Check that fonts are available:

fc-list | egrep -i 'arial|verdana|calibri|cambria|candara|consolas|constantia|corbel' | head

Install and check on RHEL/CentOS

Copy the built RPM to the target RHEL-like system, for example:

scp dist/rpmbuild/RPMS/noarch/msttcore-fonts-installer-2.6-1.noarch.rpm root@server:/root/

Install dependencies and the package:

sudo dnf install -y epel-release
sudo dnf install -y fontconfig cabextract
sudo dnf install -y ./msttcore-fonts-installer-2.6-1.noarch.rpm

Check that fonts are available:

fc-list | egrep -i 'arial|verdana|calibri|cambria|candara|consolas|constantia|corbel' | head

Cleanup

Debian/Ubuntu (DEB)

sudo apt remove -y ttf-mscorefonts-installer || true
sudo rm -rf /usr/share/fonts/truetype/msttcorefonts || true
sudo fc-cache -f || true

RHEL/CentOS (RPM)

sudo dnf remove -y msttcore-fonts-installer || true
sudo rm -rf /usr/share/fonts/msttcore || true
sudo fc-cache -f || true

About

Packaging and installer scripts for Microsoft TrueType Core Fonts (Arial, Times New Roman, Verdana, etc.) on Linux.

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages