In this article, we will guide you through the process of installing the Arial font in Ubuntu. Arial is a widely used sans-serif typeface and it’s often required for various design and document needs. While it’s a standard font in Windows, it’s not included by default in Ubuntu due to license restrictions. However, there are several ways to install it.
To install Arial font in Ubuntu, you can either use the terminal or manually download and install the font package. Using the terminal, you can run a command to install the necessary package and update the font cache. Alternatively, you can manually download the font package, extract it, and move the font files to the user’s font directory. Restart the software you want to use the fonts in, and you should be able to access Arial font in Ubuntu.
Method 1: Using the Terminal
The quickest way to install Arial and other Microsoft TrueType fonts is through the terminal.
- Open a terminal window. You can do this by pressing
Ctrl + Alt + Tor by searching for ‘terminal’ in your applications menu.
- Run the following command:
sudo apt install ttf-mscorefonts-installer
This command uses
sudo to run the operation as an administrator,
apt is the package handling utility in Ubuntu,
install is the command to install a new package, and
ttf-mscorefonts-installer is the package that contains the Arial font along with other Microsoft fonts.
- Next, update the font cache by running:
sudo fc-cache -f
fc-cache command is used to build font information cache files. The
-f option forces the rebuild of the cache.
- To check if Arial is installed, run:
fc-match command is used to match available fonts. It should return
Arial.ttf: "Arial" "Regular" if the Arial font is installed correctly.
Method 2: Manual Installation
If you prefer a more hands-on approach, you can manually download and install the Arial font.
- First, install the
cabextracttool. This is a utility for extracting Microsoft cabinet files, also known as .CAB files. Run the following command to install it:
sudo apt install cabextract
- Next, download the font package from the Fontconfig webfonts page.
- Extract the downloaded package by running:
tar -xzf webfonts.tar.gz cd msfonts/ cabextract *.exe
tar command is used to extract files from an archive. The
-xzf option tells tar to extract the files, use the gzip filter, and specifies the file name. The
cd command is used to change the current directory.
cabextract is used to extract the contents of the .exe files.
- Move the fonts to the user’s font directory by running:
cp *.ttf *.TTF ~/.local/share/fonts/
cp command is used to copy files or directories. The
*.TTF are wildcard characters used to specify any file ending with .ttf or .TTF. The
~/.local/share/fonts/ is the directory where user-specific fonts are stored.
- Finally, restart the software in which you want to use the fonts.
Installing the Arial font in Ubuntu can be done either through the terminal or manually. Both methods are straightforward and should not take much time. Remember to always check the licensing terms and conditions when using proprietary fonts like Arial. Happy designing!
Yes, you can manually download and install the Arial font without using the terminal. Please refer to Method 2 in the article for detailed instructions.
Yes, there are license restrictions for the Arial font. However, the
ttf-mscorefonts-installer package mentioned in Method 1 takes care of the legalities and provides a legal way to install Arial and other Microsoft fonts on Ubuntu.
You can confirm if Arial is installed correctly by running the command
fc-match Arial in the terminal. It should return
Arial.ttf: "Arial" "Regular" if the Arial font is installed properly.
Yes, once the Arial font is installed, you can use it in any software that supports font selection. Simply select Arial from the available font options in the software.
Yes, you can uninstall the Arial font by removing the
ttf-mscorefonts-installer package if you used Method 1 for installation. If you manually installed Arial, you can delete the font files from the