How to install Google Fonts on Fedora

Launched in 2010, Google Fonts are free to use icons that are intended to enable font discovery and exploration.

Did you want to add some style to your documents or maybe create a beautiful banner on Gimp? You need some stylish fonts to jazz it up a bit. In this tutorial, we are going to walk you through installing Google Fonts on Fedora by using the following two methods:

  • Using the DNF package manager.
  • Using the manual method.

Installing Google Fonts on Fedora

Method 1: Using the DNF package manager

In this method, you have to enable the RPMfusion repository on your fedora using the DNF package manager. In case you need to remove or update the installed fonts on your system, this method should give you more control over the installed fonts.

Step 1. Use the next command to install the RPMfusion repository on Fedora.

sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

Enable The RPMfusion Repository On Fedora
Enable The RPMfusion Repository On Fedora

Step 2. After the RPMfusion installed successfully, now you can list all the available fonts using the next command.

sudo dnf search fonts

List All Available Font Packages
List All Available Font Packages

Step 3. Let’s filter the results by the Google Fonts as following:

sudo dnf search fonts | grep google

Filter Results By Google Fonts Only
Filter Results By Google Fonts Only

Now you can choose to install any of the previous Google Fonts.

Step 4. Let’s try to install the Google-Roboto-Fonts using the next command.

sudo dnf install google-roboto-fonts.noarch

Install The Required Font Package
Install The Required Font Package

Go ahead now and restart your application and check the newly installed Google Fonts.

Method 2: Install Google Fonts on Fedora Manually

In this method, we are going to install the Google Fonts manually. So first we need to download the Google Fonts in a supported format like the .ttf, .otf, .pfa, .ttc, .pcf, or .pfb. Then we will move the installed fonts manually into the system fonts directory. And finally, we shall update the fonts cache.

Step 1. You can download the Google fonts from here (https://fonts.google.com/).

Select Required Font
Select Required Font

As you can see in the previous screenshot, there are many google fonts with samples for each font. So you can choose any of the mentioned fonts to download.

Step 2. Now choose any font to download and press the (+) sign, which is located at the top right. It will give you the following message:

Family Selected Bar
Family Selected Bar

Step 3. Press on the Family selected message to download the fonts. You should find the download icon at the top right as the following screenshot.

Press The Download Button
Press The Download Button

Step 4. Move to the downloads directory.

cd Downloads/
ls

Move To The Downloads Directory
Move To The Downloads Directory

Step 5. Extract the downloaded fonts.

unzip Mansalva.zip

Extract Downloaded Fonts
Extract Downloaded Fonts

As you can see in the above screenshot, a font with format .ttf was extracted successfully.

Step 6. Now copy the .ttf extracted font to the system fonts directory using the next command.

sudo cp Mansalva-Regualar.ttf /usr/share/fonts/

Copy Google Font To Fonts Directory
Copy Google Font To Fonts Directory

Step 7. To make sure that the font copied successfully, use the list command to display all the fonts in the shared directory.

ls /usr/share/fonts

Google Font Copied Successfully
Google Font Copied Successfully

Step 8. Now you need to rebuild the fonts cache, and this should help your Fedora to locate any new fonts.

sudo fc-cache -v

Refresh Fonts Cache
Refresh Fonts Cache

At this point, you can restart your application to start using the new Google Fonts.

Congratulations, you have now installed Google Fonts on Fedora!

Hend Adel
Hi! I'm Hend Adel, a freelancer technical geek with successful experience in Database, Linux and many other IT fields. I help to build solutions to suit business needs and creating streamlined processes. I love Linux and I'm here to share my skills via FOSS Linux! Thanks for reading my article.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

STAY CONNECTED

23,417FansLike
377FollowersFollow
16SubscribersSubscribe

LATEST ARTICLES

Basics of Working with the SQLite Database in Python

A database is one of the most useful and popular files for storing data; they can be used to store any kind of data, including text, numbers, images, binary data, files, etc. SQLite is a relational database management system based on the SQL language. It is a C library, and it provides an API to work with other programming languages, including Python. It does not require a separate server process to be run as needed in large database engines like MySQL and Postgresql.

5 Ways to Check the Linux Version

When most people talk of Linux, they are always referring to a Linux distribution. However, this is not the case. Linux itself is a kernel which acts as a bridge between user applications and the hardware. When we talk of a Linux distribution, we refer to an operating system developed from the Linux kernel. A distribution comes with a package manager, pre-installed applications, a Desktop Environment, and several more features.

Getting Started with Linux Operating System

The Linux operating system brings forth a vibrant mix of features and security, making it the best alternative to macOS or Windows operating systems. In this post, we will give you a master guide on Getting started with Linux systems - taking you from a complete beginner to a level where you can begin testing the various Linux distributions available with much ease.

How to Create a Comprehensive Mail Server on Ubuntu

Postal is a free and open-source mail server used to send and receive emails. It comes loaded with tons of excellent features and functionalities, making it extremely popular among large organizations as well as in enterprise settings.

The 10 Best Linux Performance Monitoring Tools

Do you want to monitor the performance of your Linux system? Are you looking for some powerful performance monitoring tools to help you out? If you agree, it's your day as we have put together a detailed list of the ten best Linux performance monitoring tools.

How to Boot your Windows or Linux PC from a USB Drive

Sometime back, the process of installing an operating system required users to pop a bootable media disk into their DVD or CD drive and use it to boot the PC. But times have changed. Nowadays, the most common way of installing an OS is booting from a USB drive. The use of USB drives is further propelled by the current production of slim and lightweight laptops with no support for DVD/CD drives.

MUST READ

Buyers who wish to go for a machine that is based on Linux often show interest in Chromebooks due to the form factor and extended battery life capabilities. Although ChromeOS power these machines, users can still miss out on a more genuine Linux experience. For those who happen to agree, the new Lemur Pro by System76 might get some heads turning.
Linux is growing faster than ever. As per the latest report, there is a drop in the Windows 10 market share for the first time, and Linux's market share has improved to 2.87% this month. Most of the features in the list were rolled out in the Pop OS 20.04. Let's a detailed look into the new features, how to upgrade, and a ride through video.

Top 20 must-have apps for your Ubuntu PC

OK, this one is going to be a long one, so grab a cup of coffee and scroll through the best apps that we think are must-have for your Ubuntu PC. We have hand-picked each one of these considering the most common categories that suit an average Linux user.

VIDEO: Linux Lite 4.8 Features and Desktop Tour

Linux Lite eases Windows 7 users transition to Linux much more comfortable by offering simple software like Team Viewer, VLC, Firefox, TimeShift backup utility, and a full Microsoft Office compatible office suite in LibreOffice.

6 Best Linux Distros for Laptops

Whether buying a Linux pre-installed laptop or selecting a Linux distro for your existing laptop, there are many things to consider. Let's take you through some of the best Linux distros that are optimized for Laptops in this 2019 edition of the article. Read on.

5 Best Ways to Free up Hard Disk Space in Ubuntu

Hard disk space can easily get filled up with cached package files, old kernels, and other obsolete files that occupy unwanted hard disk space. Here are top five best and safer ways to clean and free up hard disk space in Ubuntu. We show you Terminal and GUI way of cleaning up system.