Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

The Tex Live included in Ubuntu 12.04 is very old (2009), and I would like to install the latest version to be able to edit the Ubuntu manual.

How do I do that from the terminal?

Hello, my name is Chris. I am a student pursuing a career in technical writing and I would like to assist the Ubuntu community while gaining experience & building my resume.

I need to install upstream version of TeX Live for 12.04 to edit the manual for Ubuntu. I am having a difficult time installing it per the directions @ http://ubuntu-manual.org/getinvolved/editors#install-texlive.

TeX Live documents are on my computer, but I am not able to run the install. No TeX Live program found on my computer. Any help is greatly appreciated! ~Thanx!~

Below I have listed the prior attempts & links to view the posts of each attempt:

  • Backports

I have tried using the official backports of the latest (2012) TeX-Live via their PPA. Please refer to link below for the particulars.

How do I install the latest TeX Live 2012 on Ubuntu 12.04?

  • Latex

I've also tried running Latex as suggested. Please refer to link below for the particulars.

http://ubuntuforums.org/showthread.php?t=2019051

  • PPA Causing Issue?? or something else

I came across a post concerning the ability to install programs via the terminal and am wondering if it may be my problem??? Please refer to link below for the particulars.

PPA - TeX Live

Cannot install anything through Terminal - apt-get -f install

share|improve this question
    
Just in case, you want to reinstall. This installation tutorial for TeX Live 2012 worked for me on Precise. –  JJD Sep 2 '12 at 23:45
add comment

1 Answer 1

The problem with installing texlive 2012 on Ubuntu Precise 12.04 is that if things go wrong there isn't a whole lot of information out there on how to adequately uninstall it. I think it's important to explicitly say uninstall to improve the search results of others. I finally came across a solution which worked for me with the help of LaTeX Users Group on Google Groups.

Link to LaTeX Users Group

sudo apt-get remove texlive*
sudo apt-get autoremove
sudo apt-get clean
sudo apt-get update
sudo apt-get autoclean
sudo apt-get check

sudo rm /var/lib/dpkg/info/texlive*.postrm
sudo rm /var/lib/dpkg/info/texlive*.list

sudo dpkg --purge --force-all texlive*
sudo dpkg --purge --force-all tex-common*

sudo apt-get install texlive-latex-base
sudo apt-get install texlive-latex-extra
sudo apt-get install texlive-full

This all assumes that you've added Backports repositories as described here

share|improve this answer
    
does texlive-full include the rest since its full? –  themhz Nov 27 '12 at 0:50
    
I installed the packages and I do have latex in LibreOffice thank you –  themhz Nov 27 '12 at 2:44
    
the rm and dpkg --purge are unnecessary if you do sudo apt-get remove --purge texlive* in the first place. So all that is needed are: 1. sudo apt-get remove --purge texlive*, 2. sudo apt-get autoremove and 3. sudo apt-get install texlive-full. –  Subhamoy Sengupta Jan 18 '13 at 1:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.