Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I just installed texlive-latex-base package from official Ubuntu repo, now I have to add some modules (ucs and utf8x) for compiling .pdf files with Cyrillic encoding, so, how to install it? I found tlmgr - the TeX Live manager, but I have no such command, it seems that I could install tlmgr using this: "You may end up in a situation where tlmgr itself does not run due to Perl errors, failed updates, or some other reason. If this happens, the simplest way forward is to download and run update-tlmgr-latest.sh" Am I right?

Update:

argon@vprime:~/Documents/diplom$ sudo bash update-tlmgr-latest.sh 
[sudo] password for argon: 
Verifying archive integrity... All good.
Uncompressing TeX Live Manager Updater..........................................................................................................................................................................
./runme.sh: Cannot find TeX Live root using kpsewhich --var-value=SELFAUTOPARENT.
./runme.sh: Please call update-tlmgr-latest.sh --noexec --keep
./runme.sh: and then call the runme.sh script in the unpacked directory
./runme.sh: with the directory root as the first argument, something like:
./runme.sh: sh runme.sh /path/to/your/texlive/installation/2010
argon@vprime:~/Documents/diplom$ dpkg -L tex
tex-common          texlive-binaries    texlive-doc-base
texlive-base        texlive-common      texlive-latex-base

So, path to which package should i use?

share|improve this question

migrated from stackoverflow.com Aug 3 '12 at 19:59

This question came from our site for professional and enthusiast programmers.

    
@You what do you mean 'you probably want all...', Im asking about which package's directory I should use like argument for runme.sh, also - there are many directories for each package... –  scythargon Aug 3 '12 at 17:37
2  
tlmgr has nothing to do with the Ubuntu TeX Live (which is from 2009). tlmgr is only available in the version of TL you can get from TUG, see tug.org/texlive. If you want the latest, go with TUG TL 12, not the Ubuntu TL –  daleif Aug 3 '12 at 20:15
    
thanks a lot :) –  scythargon Aug 3 '12 at 21:47
    
Could someone find a more specific title for this question? I feel like it should at least mention Ubuntu. –  doncherry Aug 3 '12 at 22:47
    
@doncherry -- Judging from the comment to the answer below, the (real) question seems to have been 'how to install *tex packages using the native Debian/Ubuntu repositories', which I'm guessing has been answered before. (That answer in turn should point to how to install the current version of TL, the relative merits of using Debian/Ubuntu's version over current TL, etc.) –  jon Aug 4 '12 at 4:12
show 3 more comments

1 Answer

up vote 5 down vote accepted
  1. The most straightforward you can do is to open Synaptic package manager, or Ubuntu software center, or whatever other distro manager you have and look for a system package which enhances your TeX distribution with packages you need.
  2. The second option you have is to get the packages you need from CTAN, install (unpack) them into your LOCALTEXMF tree and rerun texhash so that your TeX will find them. This however might sound easier than it is for more complex packages, fonts, bibliography styles, etc.
  3. The last option, is to download and install the latest TeXLive distribution, where you would have tlmgr and friends. If you have a good network connection and enough space on your disk, just go with the full installation.

Personally, I very much recommend to go with the last option, that is the full TeXLive install from scratch. The point is that Ubuntu still ships TeXLive 2009 packages, while recently TeXLive 2012 came out. Going with the most recent distro will ensure that you will have all the new things done in XeTeX, or LuaTeX which might be of your interest, since as you speak you are after non-latin fonts/encodings and such.

Before doing the full TeXLive install, do not forget to purge the Ubuntu TeXLive 2009 installation, otherwise the two will clash.

share|improve this answer
1  
thanks:) Im already solve it by adding packages(ubuntu 12.04): texlive-latex-recommended texlive-lang-cyrillic scalable-cyrfonts-tex –  scythargon Aug 3 '12 at 21:46
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.