You must need latex preinstalied in your system to do this …if you dont have latex use this command
sudo apt-get install texmaker
Texmaker is latex ide while installing ide it also installs the sufficient packages…
Next how to install IEEE templates in latex so as to get IEEE class…
Download the template from http://www.ieee.org/conferences_events/conferences/publishing/templates.html select the unix packages
Extract this file in a folder IEEEtran.
create a subdirectory “bibtex” in that folder
Download the bibtex file “IEEEtranBST1.tar.gz” from the same site to this directory and extract
Move IEEEtran directory to /usr/share/texmf-texlive/tex/latex/ if you are in same folder you can use this command
sudo mv IEEEtran /usr/share/texmf-texlive/tex/latex/
run this command next
sudo texhash
you can see your templates get added to the Latex
Now you can start your latex document like this
\documentclass{IEEEtran}