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
sudo dnf install epel-release
sudo dnf install https://github.com/isboston/msttcore-fonts/releases/download/fonts/msttcore-fonts-installer-2.6-1.noarch.rpmOn Fedora 45, run only the second command.
| Distribution | Download |
|---|---|
| Fedora 45, Rocky Linux 10.3 (with EPEL) | RPM 2.6-1 |
| Debian 13, Ubuntu 24.04 LTS | DEB 3.8.2 |
Scripts are released under the MIT License. Microsoft Core Fonts are distributed under the Microsoft EULA and are not included in this repository.
You can download ready-made DEB/RPM packages from GitHub Releases:
Install build dependencies:
sudo apt-get update
sudo apt-get install -y build-essential debhelper cabextract fontconfig rpmClone and build both packages:
git clone https://github.com/isboston/msttcore-fonts.git
cd msttcore-fonts
bash build.sh rpm debBuild only DEB:
bash build.sh debBuild only RPM:
bash build.sh rpmResulting 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
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 fontconfigCheck that fonts are available:
fc-list | egrep -i 'arial|verdana|calibri|cambria|candara|consolas|constantia|corbel' | headCopy 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.rpmCheck that fonts are available:
fc-list | egrep -i 'arial|verdana|calibri|cambria|candara|consolas|constantia|corbel' | headDebian/Ubuntu (DEB)
sudo apt remove -y ttf-mscorefonts-installer || true
sudo rm -rf /usr/share/fonts/truetype/msttcorefonts || true
sudo fc-cache -f || trueRHEL/CentOS (RPM)
sudo dnf remove -y msttcore-fonts-installer || true
sudo rm -rf /usr/share/fonts/msttcore || true
sudo fc-cache -f || true