Reaching out to others! Free & Open Source Software, Kannada, L10n, L18n Data Science, Cloud Computing & more…

To install default Kannada font (lohit_kn.ttf) on CentOS we need to install fonts-kannada package via yum as follows.

# yum install fonts-kannada
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
–> Running transaction check
—> Package fonts-kannada.noarch 0:2.3.1-1.el5 set to be updated
–> Finished Dependency Resolution

Dependencies Resolved

==========================================
Package                 Arch       Version          Repository        Size
==========================================
Installing:
fonts-kannada           noarch     2.3.1-1.el5      base               62 k

Transaction Summary
==========================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 62 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): fonts-kannada-2.3. 100% |===========|  62 kB    00:16
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897
Importing GPG key 0xE8562897 “CentOS-5 Key (CentOS 5 Official Signing Key) ” from https://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: fonts-kannada                ############# [1/1]

Installed: fonts-kannada.noarch 0:2.3.1-1.el5
Complete!

Once the package is installed, reopen your browser and start browsing Kannada websites. If you want to add any other Kannada fonts, do copy them to /usr/share/fonts folder or to .fonts folder inside your user directory and run fc-cache -fv to get it installed successfully. This is also a general method followed to install any fonts on Gnu/Linux.