How To Install mscorefonts (microsoft ttf font package)

Hello,

I was looking on the OM repos for something similar to the ttf-mscorefonts-installer on ubuntu or fetchmsttfonts on OpenSUSE to no avail, and since the forum entry:

Shares an invalid link to opensuse’s repos and it is performed on OM 4.2. without further explanation of HOW-TO. I think it would be useful for starters to have a simple explanation of how to install this. This is basically my “workaround” for this. I used the fedora mscorefonts2 installer i found on Fedora Forums: How to install MS Fonts? - Fedora Discussion

  1. Go to the following link: https://mscorefonts2.sourceforge.net/
  2. there you can find what the package is gonna install as well as the commands to text on the terminal. A clean install of OM (ROME 26.02 in my case) does not include the following dependencies or have different names:
  • cabextract, which is actually available on OM repos
  • xorg-x11-font-utilswhich could be similar to x11-font-util which is available on OM repos
  1. The installation will still fail even after installing the dependencies because x11-font-util is not named as xorg-x11-font-utils, so the available solution for this is just skip dependencies AND package digest. Use the command: sudo rpm -i --nodeps --nodigest https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
  2. it will install normally.
  3. Check libreoffice or any program that uses fonts and make sure you can use fonts like verdana, Comic sans MS, Arial…

I’m sure this procedure could work with the OpenSUSE equal fetchmsttfonts package, but it did not test it and might require other set of dependencies. The best solution would be to build a package of fonts specifically for OM, but i am not proficient enough to build packages yet.

Best regards,

1 Like

Actually, you don’t even need to create a package. You can just copy the fonts you need from another machine that already has them installed. For example, if you have an Ubuntu machine with the mscore_fonts package installed, just copy the directory from the /usr/share/fonts/ directory. Or, you could just copy the required fonts from a Windows machine into a directory on your OM machine. Either way, copy the directory with your Microsoft fonts into the /usr/share/fonts/ directory, and then run the fc-cache command. And, you can store the directory with your new fonts in a safe location, and copy it to any new Linux machine that you ever set up.

I was aware i could get them from windows, but i don’t do dual boot and did not have another PC around with windows to do that. I guess i just wanted to do it right away from this machine in the same OS. Since there is no hint about it on OM and some people might expect it to be there like on Ubuntu, i would have been nice to leave the hint here on the forum

Thanks for the suggestion anyway :folded_hands: