Skip to content

Instantly share code, notes, and snippets.

@D4R4
Created October 19, 2021 23:24
Show Gist options
  • Save D4R4/3ba611f0f46f35683e3e0c4f64da5166 to your computer and use it in GitHub Desktop.
Save D4R4/3ba611f0f46f35683e3e0c4f64da5166 to your computer and use it in GitHub Desktop.
Install Windows fonts on CentOS
yum install rpm-build cabextract ttmkfdir
wget http://corefonts.sourceforge.net/msttcorefonts-2.5-1.spec
rpmbuild -bb msttcorefonts-2.5-1.spec
cp ~/rpmbuild/RPMS/noarch/msttcorefonts-2.5-1.noarch.rpm /tmp
yum install /tmp/msttcorefonts-2.5-1.noarch.rpm
fc-cache /usr/share/fonts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment