Friday, March 30, 2012

How to install Dhivehi fonts globally in Ubuntu (Linux)

I posted how to install Dhivehi fonts easily in ubuntu in a previous article. However this method is only for "current user". Now I'll tell you few steps to take to install Dhivehi fonts globally in ubuntu.


Download and extract Dhivehi fonts package
Create a sub-folder in your home folder, you can call it anything you like, I'll be using the name fonts2install
Copy the contents of extracted Dhivehi fonts package to the new folder created
Open a terminal window and create a folder for your Dhivehi fonts within the global location (lets call it ttf-dhivehi-fonts) by typing sudo mkdir /usr/share/fonts/truetype/ ttf-dhivehi-fonts
Type your password when prompted to do so, and press ENTER
Copy all the fonts in your fonts2install folder to global font folder for Dhivehi fonts by typing sudo cp fonts2install/*.ttf /usr/share/fonts/truetype/ttf-dhivehi-fonts and press ENTER
Type your password if prompted to do so, and press ENTER

No comments:

Post a Comment