Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to compile some LaTeX code which uses the algorithmicx environemt for producing pseudocode. It won't compile and someone told me that from the log file that the packages for these needed environments are too old. How can I update my packages to get the newest versions? From the synaptic package manager I cannot see an update entry for the packages; only full texlive instead of simply tex live

share|improve this question
    
What packages are we talking here? TeX macro packages, or third party software packages? –  Majenko Apr 4 '11 at 14:41
    
@Matt Jenkins: the 'algorithms' package, or even in general other packages. Can I just add a list and have those updated? –  Vass Apr 4 '11 at 14:44
    
This question was also posted on tex.stackexchange.com: tex.stackexchange.com/q/14925/2975 –  Martin Scharrer Apr 4 '11 at 15:15

1 Answer 1

up vote 3 down vote accepted

Debian still ships TeXLive 2009, which is now pretty quickly getting pretty ancient. As far as I know, there is no package (neither official nor unofficial) of TeXLive 2010. You have pretty much three options:

  1. You can install your own version of TeXLive 2010 in the /usr/local/ tree. Download it from tug, and follow the Unix installation instruction on that page. That will give you a complete current version of TeXLive. You will then be able to use tlmgr to keep your installation up to date. If you choose that path, make sure that the path to the new binaries is in your $PATH, and also in the roots $PATH, in order for maintainance binaries such as texhash and tlmgr to work.

  2. You can keep your current TeXLive, and just install the new versions of the packages you need in your local texmf tree. The local texmf tree on Debian based distributions is in /usr/local/share/texmf. If you don't have that directory, create it (as root, you will need to use sudo), download the packages from CTAN, and install them in there. You will need to run texhash as root to refresh TeX's file database, otherwise TeX will not find the new packages. The actual installation procedure will differ from package to package. If you can find a "tds compliant" zip file, you can just unzip it in /usr/local/share/texmf, run texhash as root and you will be done. If not, your best bet is to follow instruction in the README file that came with the package, or look at the package documentation if it contains some installation instructions.

  3. If you are the only one using TeX on that computer, you can also install the packages in your personal texmf tree, which on Debian is, I believe, in ~/texmf. The procedure for installing is pretty much the same as when installing in the local texmf tree, except that you don't have to be the root, and you don't have to run texhash after installation.

If you post the list of individual packages, someone may be able to give you more details.

share|improve this answer

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.