Welcome to the most active Linux Forum on the web.
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


  Search this Thread
Old 06-24-2013, 11:09 PM   #1
Registered: Aug 2007
Posts: 276

Rep: Reputation: 17
Question how to install font?


I am having windows arial.ttf, would like to install on Linux.

Wheather below steps will install font or any addtional configuration needs to be done?

mkdir /usr/share/fonts/truetype/

coppied .ttf to /usr/share/fonts/truetype/

fc-cache -fv
Old 06-25-2013, 10:48 AM   #2
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060
I would not mix add-on fonts with system fonts (you might lose them with a system upgrade).

Easier? Try this:
su -
mkdir -p /usr/local/share/fonts/TTF
cd /usr/local/share/fonts/TTF
<copy the font files to here>
That gets them ready for use -- note, you can use whatever name you like in place of TTF both here and below. You can, while you're at it, copy all extra .ttf files you have available into this same directory.

Then get into /etc/fonts and create a file, local.conf that looks like this:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file to configure system font access -->
Once that's done, the system knows where to find those fonts (you can add additional font directories in /usr/local/share/fonts as needed).

Last step:
su -
fc-cache -fv
And you're good to go.

Hope this helps some.

Last edited by tronayne; 06-25-2013 at 10:51 AM.
2 members found this post helpful.
Old 06-25-2013, 10:44 PM   #3
Registered: Aug 2007
Posts: 276

Original Poster
Rep: Reputation: 17
Many Many Thanks.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Install new font crfr33r1d3r Linux - Desktop 2 11-26-2012 04:03 PM
How to install a font? concoran Linux - Newbie 1 06-12-2008 04:23 AM
How to install Font Server in FedoraCore2--my font server failed covaigold Fedora 0 02-21-2005 12:42 AM
How to install a new font ? dileepkk Linux - Software 1 07-10-2004 04:45 AM
how do i install font? paschim Linux - Newbie 1 06-25-2004 12:38 AM > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 07:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration