[Tex/LaTex] How to set font to Arial throughout the entire document

fonts

In preamble, I have:

\renewcommand{\familydefault}{\sfdefault}
\usepackage{arial}

but it doesn't work.

How do I set my font to Arial throughout the entire document?

UPDATE:

In short, both answers work.

It really depends on the environment. If using LaTeX and don't mind using a cloned font then choose Herbert's answer. If using XeLaTex and want to use the authentic font then choose Leo's.

Best Answer

Arial is not installed in TeX Live, I'm not sure about MiKTeX. You can use helvet package instead.

\usepackage{helvet}
\renewcommand{\familydefault}{\sfdefault}

If you use XeLaTeX or LuaLaTeX, you can use TrueType Arial font installed in your Windows/Mac:

\usepackage{fontspec}
\setmainfont{Arial}

In Ubuntu, Arial can be installed by a Synaptic Package named ttf-mscorefonts-installer.