How To Find All Installed Fonts From Commandline In Linux

Find All Installed Fonts

Ever wondered which fonts are installed on your Linux system? I know a quick way to find all installed fonts in your Linux system from commandline. fc-list command helps you to list all fonts and styles available on the system for applications using fontconfig. Using fc-list, we can also find out whether a particular language font is installed or not. In this brief tutorial, let me show you how to list all installed fonts and also how to list installed fonts for a particular language in Unix-like systems.

Find All Installed Fonts From Commandline In Linux

To list all installed fonts that are available on your linux system, just run:


Sample output would be:

/usr/share/fonts/TTF/Merriweather-Black.ttf: Merriweather,Merriweather Black:style=Black,Regular
/usr/share/fonts/noto/NotoSansTaiLe-Regular.ttf: Noto Sans Tai Le:style=Regular
/usr/share/fonts/noto/NotoSansGothic-Regular.ttf: Noto Sans Gothic:style=Regular
/usr/share/fonts/TTF/akruti1b.ttf: AkrutiTml1:style=Bold
/usr/share/fonts/mathjax/HTML-CSS/Neo-Euler/woff/NeoEulerMathJax_Normal-Regular.woff: Neo Euler,Neo Euler MathJax Normal:style=Medium,Regular

To list if a particular font, say “DejaVu Sans”, is installed or not, run the following command:

fc-list | grep "DejaVu Sans"

Sample output:

/usr/share/fonts/TTF/DejaVuSansCondensed.ttf: DejaVu Sans,DejaVu Sans Condensed:style=Condensed,Book
/usr/share/fonts/TTF/DejaVuSans-BoldOblique.ttf: DejaVu Sans:style=Bold Oblique
/usr/share/fonts/TTF/DejaVuSansMono.ttf: DejaVu Sans Mono:style=Book
/usr/share/fonts/TTF/DejaVuSansCondensed-Oblique.ttf: DejaVu Sans,DejaVu Sans Condensed:style=Condensed Oblique,Oblique
/usr/share/fonts/TTF/DejaVuSansMono-Oblique.ttf: DejaVu Sans Mono:style=Oblique
/usr/share/fonts/TTF/DejaVuSansCondensed-BoldOblique.ttf: DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold Oblique,Bold Oblique
/usr/share/fonts/TTF/DejaVuSans-ExtraLight.ttf: DejaVu Sans,DejaVu Sans Light:style=ExtraLight
/usr/share/fonts/TTF/DejaVuSans-Oblique.ttf: DejaVu Sans:style=Oblique
/usr/share/fonts/TTF/DejaVuSansMono-Bold.ttf: DejaVu Sans Mono:style=Bold
/usr/share/fonts/TTF/DejaVuSansCondensed-Bold.ttf: DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold,Bold
/usr/share/fonts/TTF/DejaVuSansMono-BoldOblique.ttf: DejaVu Sans Mono:style=Bold Oblique
/usr/share/fonts/TTF/DejaVuSans.ttf: DejaVu Sans:style=Book
/usr/share/fonts/TTF/DejaVuSans-Bold.ttf: DejaVu Sans:style=Bold

If you want to list all truetype fonts in your disk, you can use the find command. Please note that it will take some time to complete depending upon the size of your hard disk and number of fonts available on your system.

sudo find / -type f -name "*.ttf"

Note: If fc-list is not found on your system, install fontconfig package. For instance, to install fontconfig in Ubuntu, run:

sudo apt-get install fontconfig

Find Installed Fonts For A Particular Language

fc-list command can also allows you list installed fonts for a particular language. To do so, you to need to mention the correct language code with fc-list command as shown below.

To list of installed fonts for Tamil language, run the following command:

fc-list :lang=ta

Sample output would be:

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

Or, use the following command to list installed Tamil fonts or fonts supporting Tamil glyph:

fc-list -f '%{file}\n' :lang=ta

For more details, refer man pages.

man fc-list

And, that’s all for now. Hope this helps. I will be soon here with another useful guide. Till then, stay tuned with OSTechNix. If you like our articles, please share them on your social and professional networks, so that other users can also benefit.


Thanks for stopping by!

Help us to help you:

Have a Good day!!

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.