Ubuntu: How do I install fonts?

Опубликовано: 24 Июль 2026
на канале: Roel Van de Paar
163
1

👉 https://amzn.to/4aLHbLD 👈 You’re literally one click away from a better setup — grab it now! 🚀👑

As an Amazon Associate I earn from qualifying purchases. Ubuntu: How do I install fonts?


Question: Question says it all. I need them to be available in gimp.

Solutions Sample (Please watch the whole video to see all solutions, in order of how many people found them helpful):

== This solution helped 12 people ==
You don't have to install as root. Create a folder called .fonts in your home
directory (if you don't already have one), drop the font file in there, run
Gimp, job done.
(You may have to enable Edit->Preferences->Views->Show hidden and backup files
in Nautilus to be able to see .fonts and other ‘hidden’ folders in your home,
if you haven't already.)

== This solution helped 1 person ==
A better answer than the one provided elsewhere (i.e. to go to Google Fonts and
look up the font and go through their weird downloading system) is to get it
directly from Github, e.g.: https://github.com/google/fonts/tree/...
robotomono
The rest of them are available at https://github.com/google/fonts/tree/...
apache, and there's also a ZIP file of them available from the main https://
github.com/google/fonts#readme page.
So, if you want to script this stuff (e.g. regularly download the latest
version), you can do it with a Git checkout, or by using wget or curl to pull
down the exact files you want.
PS: There's another duplicate question at "https://askubuntu.com/questions/
696736/downloading-google-fonts". It details some other methods, like using an
installer script from googlecode.com and (for more than the Google Fonts) using
tasksel.

== This solution helped 257 people ==
Many fonts are packaged for Ubuntu and available via the "Fonts" category of
the Ubuntu Software Center. If you prefer apt-get, search for packages starting
with otf- or ttf-.
Font files that are placed in the hidden .fonts directory of your home folder
will automatically be available. You can also place them in the ~/.local/share/
fonts directory on newer versions of Ubuntu per the comments below.
You can also double-click on the font file (or select Open with Font Viewer in
the right-click menu). Then click the Install Font button.
If you need the fonts to be available system-wide, you'll need to copy them to
/usr/local/share/fonts and reboot (or manually rebuild the font cache with fc-
cache -f -v).
You can confirm they are installed correctly by running fc-list | grep "<name-
of-font>"
You may need to restart some programs, like OpenOffice Writer, before they
actually show the new fonts (usually such programs are caching the font list
when they start up).
Edit: Changed advice to manually install into /usr/local/share/fonts instead of
/usr/share/fonts to reflect comments and best practice.

== This solution helped 2 people ==
If you want to have fonts available exclusively to Gimp, see https://
askubuntu.com/a/320794/58950.
In a nutshell, you copy the fonts files to Gimp's own font folder, or tell Gimp
where you have the folder(s) with your fonts.

== This solution helped 2 people ==
Also, there are lots of fonts available as software packages. Font packages are
named in the form ttf-* or otf-*. It is better to install fonts as packages
instead of manually if possible. You can use tools such as Synaptic, apt-get or
the Ubuntu Software Centre. The Software Centre has a dedicated fonts section.

With thanks & praise to God! With thanks to all the many who have made this project possible! | Content (except music & images) licensed under cc by-sa 3.0 | Music & music license: https://www.bensound.com/royalty-free... | Images & images license: https://stocksnap.io/license and others | With thanks to user somsak.lik (https://askubuntu.com/users/2066), user S. McCandlish (https://askubuntu.com/users/469448), user nhandler (https://askubuntu.com/users/469), user myusuf3 (https://askubuntu.com/users/333), user Marco Ceppi (https://askubuntu.com/users/41), user Lipis (https://askubuntu.com/users/1173), user jbowtie (https://askubuntu.com/users/115), user JanC (https://askubuntu.com/users/935), user frabjous (https://askubuntu.com/users/1689), user einpoklum (https://askubuntu.com/users/193641), user dv3500ea (https://askubuntu.com/users/667), user carnendil (https://askubuntu.com/users/58950), user bobince (https://askubuntu.com/users/1889), and the Stack Exchange Network (http://stackoverflow.com/questions/3697). Trademarks are property of their respective owners. Disclaimer: All information is provided "AS IS" without warranty of any kind. You are responsible for your own actions. Please contact me if anything should be amiss at Roel D.OT VandePaar A.T gmail.com.