How to Install Fonts on CentOS 5

Written by kristen waters
  • Share
  • Tweet
  • Share
  • Email

The CentOS Linux operating system comes with a standard set of fonts. If you want more fonts, you must install them manually. CentOS uses the Fontconfig subsystem for font installation. You can install fonts systemwide or to a single user's account. When a font is installed systemwide, it is included in the font list for all users. You must have root privileges to install a font systemwide.

Skill level:
Easy

Other People Are Reading

Instructions

  1. 1

    Click on the "Terminal" icon in the desktop panel to open a terminal window and a command prompt.

  2. 2

    Type the command "su -" to become the root user. Type the root password when prompted.

  3. 3

    Extract the font archive file if the filename ends in ".zip" or ".gz." Type the command "unzip filneame.zip" to extract a ".zip" file. Type the command "gunzip filename.gz" to extract a ".gz" file. Replace "filename" with the name of the file you want to extract.

  4. 4

    Type the command "mkdir /usr/share/fonts/local/" to create the directory that will contain the installed fonts.

  5. 5

    Type the command "cp <font_name> /usr/share/fonts/local/" to copy the font to the systemwide fonts directory. Replace "<font_name>" with the name of the font you want to install.

  6. 6

    Type the command "fc-cache /usr/share/fonts/local/" to update the font information cache.

  7. 7

    Type the command "exit" to close the root session.

  1. 1

    Open the directory that contains the font that you want to install in the Nautilus file browser.

  2. 2

    Double-click the file to extract the contents if the filename ends in ".gz" or ".zip."

  3. 3

    Press "Ctrl" and "N" to open a new Nautilus window.

  4. 4

    Type "fonts:///" in the address bar of the second window.

  5. 5

    Drag the font file from the first Nautilus window to the second window. The fonts will be installed for that account only.

Don't Miss

References

Filter:
  • All types
  • Articles
  • Slideshows
  • Videos
Sort:
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the eHow.co.uk site, you consent to the use of cookies. For more information, please see our Cookie policy.