The LaTeX in my system cannot support Sweave compilation to pdflatex, it warns for missing .sty files. I want to clean my system and reinstall a more complete LaTeX. What is the better way for doing so?
Asked
Active
Viewed 8,261 times
5
1 Answers
5
Requirements : Ubuntu 13.04 and previous versions.
Uninstalling Latex:
Open your terminal and past the following commands :
sudo apt-get remove texlive
sudo apt-get autoremove
sudo apt-get remove tex-common --purge
Installing Latex:
They are currently 2 possibilities. You can first decide to install latex via official repository. Be aware that this version has not been updated recently.
sudo apt-get install texlive-full
Or, you can download the last updated texlive source tar.gz at this
< link >
Then I suggest you to install a good editor, like texmaker :
sudo apt-get install texmaker
Let me know if you encounter any problem.
Header12
- 639
-
It's a bad idea to install TeX Live by apt-get. The version is outdated. It's always the best to install TeX Live from here: http://www.tug.org/texlive/ – Marco Daniel Jul 07 '13 at 08:44
-
Sweavehas to be installed separately. It is a part of everyRinstallation. See its homepage – karlkoeller Jul 07 '13 at 05:39knitr. – Yihui Xie Jul 07 '13 at 06:28