Tutorials Navigation
How to Install TrueType Fonts on Ubuntu
Tutorial Name: How to Install TrueType Fonts on Ubuntu
Category: PC Tutorials
Submitted By: Ry-Nasty
Date Added:
Comments: 0
Views: 2,193
Related Forum: PC Building Forum
Share:
Automatically Install a Single Font
1
Download a TrueType font. (The file extension will be .ttf.) Unzip your file if necessary.
2
Double click on the downloaded file. This should open a font-viewer window.
3
Click Install Font in the lower right-hand corner. Congratulations! Your font has been installed.
The above will not work on all systems as the Font Viewer needs root privilege to install a font. To deal with this:
1
Open a terminal window
2
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!)
3
Enter your user password when prompted
4
Click "Install". Job done!
Manually Install Multiple Fonts
1
Download TrueType fonts. (The file extension will be .ttf.) Unzip your files if necessary.
2
Move 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
Go to Applications > Accessories > Terminal. This will take you to the terminal.
4
Type cd /usr/local/share/fonts/truetype without quotes. This is where Ubuntu keeps its fonts. (The path is cd /usr/share/fonts/truetype on some distros)
5
Type sudo mkdir myfonts without quotes. This will make a directory called myfonts in which to store your fonts. If youre not logged in as root, you will be prompted to provide your password.
6
Type cd myfonts without quotes. This moves you into the new directory.
7
Type sudo cp ~/fontname.ttf . without quotes. This moves the TrueType fonts into your new directory. (Alternatively, type sudo cp ~/*.ttf .; the * acts as a wildcard, allowing you to move all your fonts from the ~/ Directory at once.)
8
Type sudo chown root fontname.ttf and then sudo mkfontdir without quotes. Since ownership has to belong to the root, this makes a directory for your font.
9
Type cd .. and then fc-cache without quotes. This lets Ubuntu know that the fonts are installed so that they dont disappear.
Hope this helps.
Enjoy! - Nasty
1
Download a TrueType font. (The file extension will be .ttf.) Unzip your file if necessary.
2
Double click on the downloaded file. This should open a font-viewer window.
3
Click Install Font in the lower right-hand corner. Congratulations! Your font has been installed.
The above will not work on all systems as the Font Viewer needs root privilege to install a font. To deal with this:
1
Open a terminal window
2
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!)
3
Enter your user password when prompted
4
Click "Install". Job done!
Manually Install Multiple Fonts
1
Download TrueType fonts. (The file extension will be .ttf.) Unzip your files if necessary.
2
Move 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
Go to Applications > Accessories > Terminal. This will take you to the terminal.
4
Type cd /usr/local/share/fonts/truetype without quotes. This is where Ubuntu keeps its fonts. (The path is cd /usr/share/fonts/truetype on some distros)
5
Type sudo mkdir myfonts without quotes. This will make a directory called myfonts in which to store your fonts. If youre not logged in as root, you will be prompted to provide your password.
6
Type cd myfonts without quotes. This moves you into the new directory.
7
Type sudo cp ~/fontname.ttf . without quotes. This moves the TrueType fonts into your new directory. (Alternatively, type sudo cp ~/*.ttf .; the * acts as a wildcard, allowing you to move all your fonts from the ~/ Directory at once.)
8
Type sudo chown root fontname.ttf and then sudo mkfontdir without quotes. Since ownership has to belong to the root, this makes a directory for your font.
9
Type cd .. and then fc-cache without quotes. This lets Ubuntu know that the fonts are installed so that they dont disappear.
Hope this helps.
Enjoy! - Nasty
Ratings
Comments
Related Tutorials
- 01. Emulating Xbox 360 on PC for Running COD4 With Mods(3,492)
- 02. How to: Matrix Numbers | Batch File(1,903)
- 03. How to Password Protect Files on Windows(857)
- 04. How to play Socom 2/3/ and Combined Assault on PC(6,717)
- 05. Modern Warfare 2 Vac Ban Bypass Tutorial(6,133)
- 06. How to embed an image on TheTechGame(3,098)
- 07. [PC] NIOH 2 OTHER USER SAVE RESIGN(12,981)
- 08. Host bot lobbies! Full Tutorial!(11,243)
- 09. Unban yourself [Plutonium BO2](14,240)
- 10. Fall Guys - How to Change Your Name Color on Fall Guys(8,385)
- 11. Best Crosshair Settings for Valorant(6,525)
- 12. Othercide The Surgeon Boss Guide(2,539)
- 13. Othercide Remembrances Unlock Guide(4,460)
- 14. Othercide Beginners Tips and Tricks(2,708)
- 15. How to Fix Grounded Crashes, Loading Time, Low FPS and Other(4,845)
"How to Install TrueType Fonts on Ubuntu" :: Login/Create an Account :: 0 comments