Download ArticleDownload Article

Ubuntu users often need TrueType fonts for Open Office, Gimp, and other programs. Using this guide, you can either install one font at a time automatically or install multiple fonts manually.

Note: If you are using KDE, double-clicking on a font in Dolphin should automatically open the font in K Font View. When you click on the button labeled "Install..." if the font is not already installed, you will receive a prompt asking if you want to install it for personal use or system wide. If you choose system, you will be prompted for your sudo password.

Method 1
Method 1 of 3:

Getting Font Viewer Root Privileges to Install a Font

Download Article
  1. How.com.vn English: Step 1 WH.performance.clearMarks('image1_rendered'); WH.performance.mark('image1_rendered');...
    Open a terminal window
  2. Step 2 Type "sudo gnome-font-viewer...
    Type "sudo gnome-font-viewer <path-to-font-file> and hit enter (replace <path-to-font-file> with the path to the font file you want to install!)
    Advertisement
  3. How.com.vn English: Step 3 Enter your user password when prompted
  4. Step 4 Click "Install".
    Job done!
  5. Advertisement
Method 2
Method 2 of 3:

Automatically Install a Single Font

Download Article
  1. How.com.vn English: Step 1 Download a TrueType font.
    (The file extension will be .ttf.) Unzip your file if necessary.
  2. How.com.vn English: Step 2 Double click on the downloaded file.
    This should open a font-viewer window.
  3. How.com.vn English: Step 3 Click Install Font in the lower right-hand corner.
    Congratulations! Your font has been installed.
  4. Advertisement


Method 3
Method 3 of 3:

Manually Install Multiple Fonts

Download Article
  1. How.com.vn English: Step 1 Download TrueType fonts.
    (The file extension will be .ttf or .otf) Unzip your files if necessary.
  2. How.com.vn English: Step 2 Move or copy your files to the ~/ Directory.
    The ~/ Directory is your home folder. This means that if you were logged in as cruddpuppet, the directory would be /home/cruddpuppet/ .
  3. How.com.vn English: Step 3 Go to Applications > Accessories > Terminal.
    This will take you to the terminal.
  4. How.com.vn English: Step 4 Type “cd /usr/local/share/fonts/truetype” without quotes into the command line.
    This is a directory for user-added fonts in linux.
  5. How.com.vn English: Step 5 Type “sudo mkdir myfonts” without quotes.
    This will make a directory called “myfonts” in which to store your fonts. If you’re not logged in as root, you will be prompted to provide your password.
  6. How.com.vn English: Step 6 Type “cd myfonts” without quotes.
    This copies you into the new directory.
  7. How.com.vn English: Step 7 Type “sudo cp ~/fontname.ttf .”
    without quotes. This copies the TrueType fonts into your new directory. (Alternatively, type “sudo cp ~/*.ttf .”; the * acts as a wildcard, allowing you to copy all your fonts from the ~/ Directory at once.)
  8. How.com.vn English: Step 8 Type “sudo chown root fontname.ttf”(or *.ttf) to change file owner to the root.
  9. How.com.vn English: Step 9 Type “cd ..”
    and then “fc-cache” without quotes to add newly-added fonts to system-wide font index, so all applications can see them.
  10. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How can I install the TimesNewRoman font on Ubuntu Mate 18?
    How.com.vn English: كن مثقفا
    كن مثقفا
    Community Answer
    Go to Word, and acceuil in the list of tools, then go to write and choose Times New Roman 18.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      Tips

      • The following fonts can be installed to Ubuntu: Arial, Courier New, Microsoft Sans Serif, Georgia, Tahoma, Verdana, and Trebuchet MS.
      • If you don't have root/sudo privileges on the machine, you can put the TTF files in the ~/.fonts directory instead.
      • You can install fonts into Fedora, Red Hat, Debian and many other Linux distributions.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      Warnings

      • Logging in as root gives you all permissions, putting all your files at risk. It's suggested that you don't do normal work logged in as root.
      Advertisement

      About This Article

      How.com.vn is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 22 people, some anonymous, worked to edit and improve it over time. This article has been viewed 687,816 times.
      How helpful is this?
      Co-authors: 22
      Updated: January 3, 2023
      Views: 687,816
      Categories: Ubuntu
      Thanks to all authors for creating a page that has been read 687,816 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement