How to delete fonts in ubuntu

How to delete fonts in ubuntu. I am a new ubuntu user and find it hard to delete fonts that I have installed.

I anticipate that the problem might be installing font that turns my Firefox browser turned my mail fonts to bold. I experience the same view with firefox and chrome browser. Many of the fonts turned out to be bold.!


An easy way to do that is using font manager. Just press Ctrl+Alt+ T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo apt-get install font-manager

Once installed, run the program, highlight the fonts that you don't like, and either disable or remove them. See image below.

enter image description here


First, determine the font's name you want to delete, example 'Nimbus Sans L'

Then run the following command in terminal to know where it is:

$ fc-list "Nimbus Sans L"
/usr/share/fonts/type1/gsfonts/n019063l.pfb: Nimbus Sans L:style=Regular Condensed Italic
/usr/share/fonts/type1/gsfonts/n019064l.pfb: Nimbus Sans L:style=Bold Condensed Italic
/usr/share/fonts/type1/gsfonts/n019043l.pfb: Nimbus Sans L:style=Regular Condensed
/usr/share/fonts/type1/gsfonts/n019044l.pfb: Nimbus Sans L:style=Bold Condensed
/usr/share/fonts/type1/gsfonts/n019023l.pfb: Nimbus Sans L:style=Regular Italic
/usr/share/fonts/type1/gsfonts/n019024l.pfb: Nimbus Sans L:style=Bold Italic
/usr/share/fonts/type1/gsfonts/n019004l.pfb: Nimbus Sans L:style=Bold
/usr/share/fonts/type1/gsfonts/n019003l.pfb: Nimbus Sans L:style=Regular

In case you don't know the exact font name, just try fc-match -s Nimbus or fc-list |grep -i nimbus, those commands will give you a hint.

Second, delete what you wanna. Below, for example, should delete style Bold Condensed Italic of 'Nimbus Sans L':

$ sudo rm /usr/share/fonts/type1/gsfonts/n019064l.pfb

After deleting, type this command to update the font cache database:

$ fc-cache -fv

If if doesn't effect, you need to reboot the system by:

$ sudo reboot

You can also delete them manually.

(That can be useful in some cases, for example: if you want to use a program like conky with a thin font like Raleway Thin, but Raleway Regular was also installed, conky may sometime automatically use regular, while font-manager will not be able to tell the difference. So, the idea is to remove regular manually, etc.)

If installed with Font Viewer, they are in ~/.local/share/fonts.

Also look in ~/.fonts.