Install fonts Ubuntu (Command Line)

Hi there, when you need to install a lot of fonts it’s easier to do so through the terminal to do so just follow the next steps.

1. Create a dedicated folder to store the fonts in the shared font folder to make it more organized.
sudo mkdir /usr/share/fonts/truetype/[YOUR_FOLDER_NAME]

2. Copy all the fonts into this directory
sudo cp ~/Downloads/*.ttf /usr/share/fonts/truetype/[YOUR_FOLDER_NAME]

3. Make sure to set the permissions of the files to 755
sudo chmod 755 /usr/share/fonts/truetype/[YOUR_FOLDER_NAME]/*.ttf

4. Update the fonts cache with the command
fc-cache

That’s all that you need.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s