How To Discover All Put in Fonts From Commandline In Linux


Get real time updates directly on you device, subscribe now.

Do you wish to know which fonts are put in in your Linux system? Good! I do know a fast approach to discover all put in fonts in your Linux system from commandline. The fc-list command lets you record all fonts and kinds out there on the system for functions utilizing fontconfig.

Utilizing fc-list, we will additionally discover out whether or not a specific language font is put in or not. On this transient tutorial, let me present you easy methods to record all put in fonts and likewise easy methods to record put in fonts for a specific language in Linux and Unix-like methods.

Discover all put in fonts from commandline in Linux

To record all put in fonts which might be out there in your Linux system, simply run:

$ fc-list

Pattern output:

/usr/share/fonts/TTF/Merriweather-Black.ttf: Merriweather,Merriweather Black:fashion=Black,Common
/usr/share/fonts/noto/NotoSansTaiLe-Common.ttf: Noto Sans Tai Le:fashion=Common
/usr/share/fonts/noto/NotoSansGothic-Common.ttf: Noto Sans Gothic:fashion=Common
/usr/share/fonts/TTF/akruti1b.ttf: AkrutiTml1:fashion=Daring
/usr/share/fonts/mathjax/HTML-CSS/Neo-Euler/woff/NeoEulerMathJax_Normal-Common.woff: Neo Euler,Neo Euler MathJax Regular:fashion=Medium,Common
Find all installed fonts from commandline in LinuxDiscover All Put in Fonts From Commandline In Linux

To record if a specific font, say “DejaVu Sans”, is put in or not, run the next command:

$ fc-list | grep “DejaVu Sans”

Pattern output:

/usr/share/fonts/TTF/DejaVuSansCondensed.ttf: DejaVu Sans,DejaVu Sans Condensed:fashion=Condensed,Ebook
/usr/share/fonts/TTF/DejaVuSans-BoldOblique.ttf: DejaVu Sans:fashion=Daring Indirect
/usr/share/fonts/TTF/DejaVuSansMono.ttf: DejaVu Sans Mono:fashion=Ebook
/usr/share/fonts/TTF/DejaVuSansCondensed-Indirect.ttf: DejaVu Sans,DejaVu Sans Condensed:fashion=Condensed Indirect,Indirect
/usr/share/fonts/TTF/DejaVuSansMono-Indirect.ttf: DejaVu Sans Mono:fashion=Indirect
/usr/share/fonts/TTF/DejaVuSansCondensed-BoldOblique.ttf: DejaVu Sans,DejaVu Sans Condensed:fashion=Condensed Daring Indirect,Daring Indirect
/usr/share/fonts/TTF/DejaVuSans-ExtraLight.ttf: DejaVu Sans,DejaVu Sans Mild:fashion=ExtraLight
/usr/share/fonts/TTF/DejaVuSans-Indirect.ttf: DejaVu Sans:fashion=Indirect
/usr/share/fonts/TTF/DejaVuSansMono-Daring.ttf: DejaVu Sans Mono:fashion=Daring
/usr/share/fonts/TTF/DejaVuSansCondensed-Daring.ttf: DejaVu Sans,DejaVu Sans Condensed:fashion=Condensed Daring,Daring
/usr/share/fonts/TTF/DejaVuSansMono-BoldOblique.ttf: DejaVu Sans Mono:fashion=Daring Indirect
/usr/share/fonts/TTF/DejaVuSans.ttf: DejaVu Sans:fashion=Ebook
/usr/share/fonts/TTF/DejaVuSans-Daring.ttf: DejaVu Sans:fashion=Daring

If you wish to record all truetype fonts in your disk, you need to use the discover command. Please word that it’s going to take a while to finish relying upon the scale of your laborious disk and variety of fonts out there in your system.

$ sudo discover / -type f -name “*.ttf”

Notice: If fc-list just isn’t discovered in your system, set up fontconfig package deal. As an illustration, to put in fontconfig in Ubuntu and its derivatives, run:

$ sudo apt-get set up fontconfig

Discover Put in Fonts For A Explicit Language

The fc-list command additionally permits us to record put in fonts for a specific language.

To record put in font for a selected language, you to want to say the proper language code with fc-list command as proven beneath.

To record of put in fonts for Tamil language, run the next command:

$ fc-list :lang=ta

Pattern output:

/usr/share/fonts/TTF/akruti1b.ttf: AkrutiTml1:fashion=Daring
/usr/share/fonts/TTF/akruti2b.ttf: AkrutiTml2:fashion=Daring
/usr/share/fonts/TTF/akruti1.ttf: AkrutiTml1:fashion=Regular
/usr/share/fonts/TTF/akruti2.ttf: AkrutiTml2:fashion=Regular
/usr/share/fonts/noto/NotoSerifTamil-Common.ttf: Noto Serif Tamil:fashion=Common
/usr/share/fonts/noto/NotoSansTamil-Daring.ttf: Noto Sans Tamil:fashion=Daring
/usr/share/fonts/noto/NotoSansTamilUI-Common.ttf: Noto Sans Tamil UI:fashion=Common
/usr/share/fonts/TTF/DroidSansTamil-Daring.ttf: Droid Sans Tamil:fashion=Daring
/usr/share/fonts/TTF/TAMu_Kadampari.ttf: TAMu_Kadambri:fashion=Common
/usr/share/fonts/TTF/TAMu_Kalyani.ttf: TAMu_Kalyani:fashion=Common
/usr/share/fonts/TTF/DroidSansTamil-Common.ttf: Droid Sans Tamil:fashion=Common
/usr/share/fonts/noto/NotoSansTamil-Common.ttf: Noto Sans Tamil:fashion=Common
/usr/share/fonts/TTF/TSCu_Comic.ttf: TSCu_Comic:fashion=Regular
/usr/share/fonts/TTF/TAMu_Maduram.ttf: TAMu_Maduram:fashion=Regular
/usr/share/fonts/noto/NotoSansTamilUI-Daring.ttf: Noto Sans Tamil UI:fashion=Daring
/usr/share/fonts/TTF/TSCu_Paranar.ttf: TSCu_Paranar:fashion=Common
/usr/share/fonts/TTF/TSCu_Times.ttf: TSCu_Times:fashion=Regular
/usr/share/fonts/TTF/TSCu_paranarb.ttf: TSCu_Paranar:fashion=Daring
/usr/share/fonts/noto/NotoSerifTamil-Daring.ttf: Noto Serif Tamil:fashion=Daring

Or, use the next command to record put in Tamil fonts or fonts supporting Tamil glyph:

$ fc-list -f ‘%{file}n’ :lang=ta

For extra particulars, refer man pages.

$ man fc-list


On this brief information, we mentioned easy methods to record all put in fonts and easy methods to record put in fonts for a selected language utilizing fc-list command in Linux and Unix methods. As you’ll be able to see, discovering the put in fonts on a Linux system is not that tough.

Leave A Reply

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More