Arch is great and its wiki covers most use cases. This is just a reminder that what works and which newbie tricks are required to get and install these fonts.
Read https://wiki.archlinux.org/index.php/Microsoft_fonts.
https://github.com/fphoenix88888/ttf-mswin10-arch
This package holds all files nedded to install win10 ms fonts. These are just the pacman-cache-install-ready-sort-of-a-files.
They are in the form of: ttf-ms-win10-10.0.17763.1-1-any.pkg.tar.xz
, and they are the result of a succesful makepkg
command.
I knew about them after I did all the sheninangas I'll describe as follows.
To install using this repository, you just need to:
- Clone the repo
- CD into the repo
- Install (Upgrade) any desired package from the related file. Like:
sudo pacman -U ttf-ms-win10-10.0.17763.1-1-any.pkg.tar.xz
If you do not have a installed Win10 in your reach, here follows what I did.
You may need p7zip
to provide 7z
command as used in Arch's Wiki.
Download your preferred ISO file from https://www.microsoft.com/en-us/software-download/windows10ISO
I created a dir to make packages: cd ~ && mkdir .packages && cd .packages
And prepare the terrain...
- Download the snapshot of our main win10 font package, from AUR:
wget https://aur.archlinux.org/cgit/aur.git/snapshot/ttf-ms-win10.tar.gz
- Extract package contents:
tar xf ttf-ms-win10.tar.gz
- CD into the directory:
cd ttf-ms-win10
. You must put the font files at the same level of PKGBUILD. Read it to check the insights of the packager mantainer.
So, follow the instructions on Wiki. Adapted as follows:
- Once your download finished, you can:
7z e ~/Downloads/Win10_1809Oct_BrazilianPortuguese_x64.iso sources/install.wim
7z e install.wim 1/Windows/{Fonts/"*".{ttf,ttc},System32/Licenses/neutral/"*"/"*"/license.rtf} -ofonts/
cp fonts/*.{ttf,ttc,rtf} .
I think that is the best, to control the mess with copied files.
Then you can make the package files as stored into fphoenix's repo. If you wanna install all fonts packages just do makepkg -sri
. Or, if you wanna install just the main package, as me. I suggest:
makepkg
sudo pacman -U ttf-ms-win10-10.0.17763.1-1-any.pkg.tar.xz
Cool, thank you!