Latex not Working after upgrading Ubuntu

Do this if your latex is not working after you’ve upgraded Ubuntu to 14.04 LTS.

Un-install Latex

sudo apt-get remove texlive
sudo apt-get autoremove
sudo apt-get remove tex-common –purge

Install Latex

sudo apt-get install texlive-full

Install Latex editor (if you don’t have)
sudo apt-get install texmaker