How can I install fonts on Ubuntu

How to install fonts on Ubuntu 20.04 Focal Fossa Linux

In this guide, we are going to show you how to install fonts on your Ubuntu 20.04 Focal Fossa system. This is relatively easy to do, be it using a font manager application or installing the fonts manually. Whichever you prefer, this article covers both methods.

In this tutorial you will learn:
  • How to get new fonts
  • How to install fonts using Font Manager
  • How to manually install fonts in the user area
  • How to manually install fonts system-wide
Installing new fonts on Ubuntu 20.04
categoryRequirements, conventions or software version used
systemUbuntu 20.04 installed or Ubuntu 20.04 Focal Fossa updated
softwareFont Manager
OtherPrivileged access to your Linux system as root or via command.
Conventions# - Requires certain Linux commands with root privileges either directly as the root user or with the command
$ are executed - Requires certain Linux commands to be run as a regular non-privileged user

Acquire fonts

To install new fonts on Ubuntu, you first need the font files themselves. You can find many fonts online for free. We recommend searching for any fonts you might like.

In this tutorial, we are going to install a TrueType font on Ubuntu 20.04 desktop as an example. If you want to go through it step by step, you can download the same font from the above website.

Here's a quick and easy way to download the font from your command line. Open a terminal and enter the following commands:

$ wget -O ~ / Downloads / $ unzip -p ~ / Downloads / Bitwise.ttf> ~ / Downloads / Bitwise.ttf $ rm ~ / Downloads /

When you run these commands, the archive will be downloaded to your directory. The archive will then be unzipped and you will receive the font file.

If you want to check your download:

$ ls ~ / Downloads / Bitwise.ttf $ file ~ / Downloads / Bitwise.ttf /home/user1/Downloads/Bitwise.ttf: TrueType Font data, 10 tables, 1st "OS / 2", 18 names, Macintosh, type 1 string, BitwiseRegular

Installing Fonts Using Font Manager

The first method we'll cover is using an application called the Font Manager. This is our recommended approach to installing fonts, but not the only option, as we'll see in a moment.

  1. Start by opening a terminal and installing Font Manager with the following command: $ sudo apt install font-manager
  2. After the Font Manager installation is complete, open the application laucher, search for Font Manager and click on it to launch the application.

    Open the Font Manager from the list of applications
  3. In the Font Manager, click the label to add a new font.

    Font Manager on Ubuntu 04/20
  4. Now you need to navigate to the font file on your system. If you follow us, the downloaded file will be in your directory. Choose your font and click "Open".

    Find the downloaded font
  5. Your font should now be installed. You can scroll through the list to find it in the Font Manager, or you can search by name in the search box.

    The bitwise font is now installed
  6. You should see your new font as an option for writing applications or any program that allows you to choose fonts. If you open LibreOffice and make sure your font is available in the selection list, you can verify that it has been installed properly.

    Check the new font in LibreOffice

Note that when you install fonts with Font Manager, the new fonts are saved in the directory. This means that the font can only be accessed by the user who performed the font installation.

If you want the font (s) to be available to all users, you must perform a system-wide font installation. We'll show you how to do it.

Manual installation of user-space fonts

For those who prefer to do things from the command line, installing fonts manually is very easy for your user. All you have to do is put the font file in the directory.

$ mkdir ~ / .fonts $ cp ~ / Downloads / Bitwise.ttf ~ / .fonts

Your font is now installed and usable. If you need to install a lot of fonts and want to organize them by directory, you can create subdirectories within the directory. Ubuntu recursively scans this directory and makes all font files it finds available.

The font directory can contain subdirectories

Manual system-wide installation of fonts

If you need a font that is available to all users on your system, all you have to do is copy the font file into the directory.

As with the installation in user space, you can also create subdirectories in this path so that you can organize your fonts better. To create a new path and install the font file system-wide:

$ sudo mkdir / usr / local / share / fonts / sample $ sudo cp ~ / Downloads / Bitwise.ttf / usr / local / share / fonts / sample /

That’s all you have to do. Your font is newly accessible to every user in the system.


In this guide, we learned how to install new fonts on Ubuntu 20.04 Focal Fossa. We covered acquiring new fonts, installing them with a graphical application, and installing them from the command line. You should now feel comfortable installing new fonts on your system, either for a specific user or for system-wide use.

Something like that