Install Ubuntu font family for individual user in CentOS/Red Hat

In this tutorial we will learn how to install Ubuntu font family for individual user in CentOS/Red Hat. In our last post we have already described about how to install Ubuntu font family system wide.

To Add/Install Ubuntu font family for an individual users in CentOS and Red Hat

Step A: Create a .fonts directory in User’s home directory. For eg. here username is sharad

Login to desired user account for which you want to install Ubuntu Fonts

mkdir ~/.fonts

Below is the reference of my system

[sharad@CentOS-Server ~]$ whoami
sharad
[sharad@CentOS-Server ~]$ mkdir .fonts
[sharad@CentOS-Server ~]$

Step B: Download the Ubuntu Fonts.

wget https://assets.ubuntu.com/v1/0cef8205-ubuntu-font-family-0.83.zip

Below given is the reference of my system

[sharad@CentOS-Server ~]$ wget https://assets.ubuntu.com/v1/0cef8205-ubuntu-font-family-0.83.zip
--2024-11-21 06:12:53-- https://assets.ubuntu.com/v1/0cef8205-ubuntu-font-famil y-0.83.zip
Resolving assets.ubuntu.com (assets.ubuntu.com)... 185.125.190.21, 185.125.190.2 9, 185.125.190.20, ...
Connecting to assets.ubuntu.com (assets.ubuntu.com)|185.125.190.21|:443... conne cted.
HTTP request sent, awaiting response... 200
Length: 2190387 (2.1M) [application/zip]
Saving to: ‘0cef8205-ubuntu-font-family-0.83.zip’

0cef8205-ubuntu-fon 100%[===================>] 2.09M 2.03MB/s in 1.0s

[sharad@CentOS-Server ~]$

Step C: unzip downloaded ubuntu-font-family-0.80.zip file

unzip 0cef8205-ubuntu-font-family-0.83.zip

Below given is the reference of my system

Step D : Now copy the ubuntu-family-0.83 directory into ~/.fonts

cp -prvf ubuntu-font-family-0.83 .fonts

Below given is reference of my system

Step E: Now run fc-cache command to build the information cache. This is the last step and font installation is completed

fc-cache -fv ~/.fonts/

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.