DEV Community

loading...

Linuxbrew as a font manager

Fernando Garcia Borges
I'm a software developer and Lisper. I love Lisp and JavaScript. My interests are Mathematical Linguistics and Modal Logic. The almost of my softwares are what I creates for my interests.
Updated on ・1 min read

In macOS we have a useful font manger homebrew with caskroom/homebrew-fonts, you could install various fonts with a command;

$ brew tap caskroom/fonts
$ brew install font-inconsolata
Enter fullscreen mode Exit fullscreen mode

While in Linux we have a fork of homebrew named linuxbrew and it doesn't supports caskroom. Today I propose you using new solution that is asciian/homebrew-fonts tap.To intall new font, you can just type;

$ brew tap linuxbrew/fonts
$ brew install font-inconsoltata --HEAD
Enter fullscreen mode Exit fullscreen mode

After the installation, we apply fonts into your system.

$ ln -s ~/.lixnubrew/share/fonts ~/.fonts
$ fc-cache -fv # Don't forget this!
Enter fullscreen mode Exit fullscreen mode

I wrote a Cask parser with parslet in Ruby and it translates Casks to Formulas. I would update this repository by the updates of caskroom/homebrew-fonts. If you want me to add new font, then you could submit the upstream caskroom/homebrew-fonts. I follow you by the updates of the upstream repository. Please check it out! Thank you.

Discussion (0)