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

24,263FansLike
192FollowersFollow

LATEST ARTICLES

manjaro complete usb drive
In this tutorial, we will show step by step how to install a Manjaro on a USB flash. For those new to this distro, it is a light-weight distro that is based on Arch Linux. Arch Linux is known for its simplistic approach and is typically made for Linux pros, but Manjaro bridges the gap between user-friendliness and rock-solid performance.
screen capture apps linux
Do you want to make a video tutorial for YouTube or show-off your epic victory royale to your friends? Look no further — as we have compiled the 10 Best Screen Capturing Software for Linux. Whether you need to record your desktop screen or take a simple screenshot, FOSSLinux has got your back.
best linux distros beginners
Making the shift to Linux is not as complicated as some people make it out to be. There is a variety of Linux distributions available that cater to the needs of people who are planning on making the jump to Linux from any other operating system.