This is an old revision of the document!
fedora linux
Fonts are located in /usr/share/fonts
. Copy files there and logout/login to use them.
They can also be placed in ~/.fonts
For some applications to see the new fonts: fc-cache -f -v
or update the font path in the application config.
microsoft fonts
Get the fonts from http://corefonts.sourceforge.net
wget http://corefonts.sourceforge.net/msttcorefonts-2.5-1.spec
maybe install
dnf list rpm-build cabextract ttmkfdir
build
rpmbuild -bb msttcorefonts-2.5-1.spec
check where they're produced and
dnf install /root/rpmbuild/RPMS/noarch/msttcorefonts-2.5-1.noarch.rpm
fonts for programming
Firacode
site: https://github.com/tonsky/FiraCode
mkdir ~/.local/share/fonts
unzip ~/Downloads/FiraCode_1.204.zip ttf/* mv ttf/* ~/.local/share/fonts rmdir ttf
unzip ~/Downloads/FiraCode-master.zip FiraCode-master/distr/ttf/* mv FiraCode-master/distr/ttf/* .local/share/fonts/ /bin/rm -r FiraCode-master/
fc-cache -f
source code pro/source code variable
site: https://github.com/adobe-fonts/source-code-pro
Download the .otf in the ~/.local/share/fonts/
and run fc-cache -f