How to Install MiKTeX, LaTeX and Beamer

UPDATE:

8/15/14 As you will read from the comments below, there came a point when the suggestions I gave here no longer work. I suggest that you download the latest version of MikTeX (2.9 as of this writing). Older versions may no longer be supported so that the “install packages on the fly” will not work (not even if you use the Package Manager). I haven’t installed 2.9 myself (due to bandwidth limitations in our on-campus internet) but the steps I wrote below should (hopefully) work as long as you have the latest versions of the needed software, which you can find here: MiKTeXTXC.

Below are three easy steps on installing MiKTeX, LaTeX and Beamer.

1. First you need to install MiKTeX. It’s pretty much the core of the of the LaTeX system – it’s the software that actually creates the documents. Size is approximately 110 MB. Click here to download MiKTeX. The rest of the installation process is pretty much intuitive. Installation may take minutes so be patient.

2. Next you will need an environment on which to type codes. The most commonly used one is TeXniC Center (go to the download page). Once you’re done downloading, installation should be a breeze. When you first run Texnic Center, the set-up will ask you for the location of executable files. The default location should be \Program Files\MiKTeX 2.8\miktex\bin.

3. Now let’s install Beamer. Note that this only if you have an internet connection. Otherwise, you might need to download Beamer’s components at its SourceForge page (look elsewhere on how to install Beamer manually). Click Start, look for MiKTeX then go to Maintenance –> Settings. On the General tab select your default paper size, and on “Install missing packages on the fly”, choose Yes.

This option will save you from downloading all the necessary packages to install Beamer, which is kind of a hassle. Open TeXnic Center and go to File –> New. Then copy and paste any Beamer code, such as the ones here. Save the file, then click CTRL + F7 to compile it. TeXniC Center will automatically call MiKTEX install whatever package is needed.

34 thoughts on “How to Install MiKTeX, LaTeX and Beamer”

1. Jim says:

Thank you so much!

“Install missing packages on the fly” is a life saver.

• kenjokenjo says:

wow thats nice to hear!

2. elena says:

thanks so much

3. xdvsdgs says:

looooooooveeee this
thx u very much

4. mohamed hamed says:

Like :)

5. Juan says:

Hi.

I’ve used latex (i use miktex 2.9 and texniccenter as editor as well) to create several documents, even my thesis. So i know latex should be working. I am pretty sure I followed your steps but it did not work for me. When I compile the file, texniccenter continues giving me errors and never try to install what is needed. Why would it be?

Thanks.

6. Garry says:

Thank you very very much! I spent a lot of time trying to find a site to tell me why exactly beamer is not working.Thank you so much again Jigen.God Bless.

7. Anna says:

Thank you so very much for providing this list! This has saved me a lot of hassle with getting started on Beamer. Happy Holidays to you.

8. Piotrek says:

Thank you very much, this tutorial is realy useful!

9. Luke says:

AMAZING DUDE !!!!!!!!!!!!! Thank you very much

10. Sanni Samuel S. says:

You done a great job. You have saved many guys in Africa. Thank you.

11. Sanni Samuel S. says:

Thank you.

12. ab Hamid says:

I am not aware of Beamer as i am to convert my latx file to presntaion.
guide me…
thanks

13. Wokiyi says:

hey that was cool, thanks for this direction, love you,

14. creampuff says:

You have no idea how much I appreciate all that you’ve done for the world. I want to kiss you.

15. lindi says:

Thank you!
I used the code above to install beamer. It didn’t compile though, so I used file – new from template – beamer presentation to open a template and that one compiled! If the compilation doesn’t work for anyone, try that!

16. cecilia says:

thank you soooo much!!!!!!!!

17. Naj says:

Thanks.
This was awesome. I had a problem saying beamerthemesplit.sty could not be found. In case anyone else has a similar problem, I replaced this with one of the other .sty files by going to beamer\beamer\base\themes\theme, for instance, beamerthemeBerkeley.sty looks neat.

18. Naj says:

\documentclass{beamer}
\usepackage{beamerthemeBerkeley}
\usecolortheme{crane}
\RequirePackage{amssymb}
\RequirePackage{amsfonts}
\RequirePackage{amsmath}
%\RequirePackage[pdftex]{color,graphicx}

\begin{document}
\begin{frame}
\titlepage
\end{frame}
\end{document}

19. Naj says:

or
\documentclass{beamer}
\usepackage{beamerthemeBerkeley}
%\usecolortheme{crane}
\RequirePackage{amssymb}
\RequirePackage{amsfonts}
\RequirePackage{amsmath}
\RequirePackage[pdftex]{color,graphicx}

\begin{document}
\begin{frame}
\titlepage
\end{frame}
\end{document}

20. Dr. Mahmoud Ragab says:

Thanks a lot

21. Nazlı says:

Thank you :) You are excellent

22. Kuzja says:

Thanks a lot!
Got two errors (option clash for package) on the run of the code, but the Beamer class working great now.

i use WinEdt as an alternative for TeXnicCenter…i used the above code and got 2 errors, 2 warnings..how to fix?

24. Li says:

Thank you so much! “Install missing packages on the fly”, choose Yes —> This really saves me!!

I’ve tried all suggestions, still did not work. However i’m glad that I can finally run beamer successfully after 5 times installing and uninstalling MikTeX.
Those who experienced same problem as mine can follow these steps:

2. Next Run “MikteX 2.9 Net Installer” and save it into a file i.e C:/Program Files/MikteX 2.9. When it asks for the repository file, refer to the folder you directed in Step 1.

Previously, all my attempts to run beamer failed because i installed basic MikteX though i already choose “Yes” to install the missing package.
Please note that Miktex and Tex editor which are intended to be installed must be compatible with each other and also must be compatible with the computer system properties.
For instance, I used WinEdt 6 as TeX editor which is compatible with MikteX 2.9 and my computer system (i.e Windows 7 SP1 or Windows XP SP3).

Good luck!

26. Stephan says:

Hi! I am using TeXnicCenter and I am trying to use the beamer:
\documentclass{beamer}
\begin{document}
\frame{Hello!}
\end{document}

I always get the error: latex.exe: GUI framework cannot be initialized. I couldn’t open file name ‘C:\… .aux’
Any ideas??? I really need your help urgent!!
Thanks a lot!

27. Anthony says:

That was great! Thank you!

28. Fantastic. I agree.

29. Indah Wijayanti says:

30. I like the helpful info you provide in your articles. I will bookmark
your weblog and check again here frequently.
I’m quite certain I will learn a lot of new stuff right here! Good luck for the next!

31. i’ve 2 error: