Installing Microsoft Fonts in Fedora Template

Hello there, indeed you have a way to do so without weakening that much the isolation of your template!

I just did the following and it went very well:

  1. Install the fonts in a Fedora AppVM (preferably a disposable):
    sudo dnf install curl cabextract xorg-x11-font-utils fontconfig
    curl -LO https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm
    sudo rpm -ivh --nodigest --nofiledigest msttcore-fonts-installer-2.6-1.noarch.rpm
    
  2. Send the fonts to your template:
    qvm-move /usr/share/fonts/msttcore/
    

and select your template in the Dom0 dialog box that will pop-up.

  1. In the TemplateVM, install the fonts system-wide:
    sudo mv /home/user/QubesIncoming/dispXXXX/msttcore/ /usr/share/fonts/
    

It’s done! The fonts are installed in your template, and you did not have to connect it to the internet!

:warning: You should always be careful about the files you send to a TemplateVM. If provided by M$crosoft, it would be a good idea to verify the checksums of the fonts in the AppVM before sending them, and in the TemplateVM after receiving them.

Hope that it fills your need :slight_smile:

P.S. : I used this guide for the first part: How to Install Microsoft Fonts on Fedora - LinuxCapable

1 Like