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?


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?

  • @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
    Commented Aug 3, 2012 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
    Commented Aug 3, 2012 at 20:15
  • Could someone find a more specific title for this question? I feel like it should at least mention Ubuntu.
    – doncherry
    Commented Aug 3, 2012 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
    Commented Aug 4, 2012 at 4:12
  • @jon I'm not really familiar with the entire Linux topic, but that sounds plausible. Feel free to act accordingly as you feel appropriate, with editing, flagging as duplicate and whatnot.
    – doncherry
    Commented Aug 4, 2012 at 7:11

1 Answer 1

  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.

  • 1
    thanks:) Im already solve it by adding packages(ubuntu 12.04): texlive-latex-recommended texlive-lang-cyrillic scalable-cyrfonts-tex
    – scythargon
    Commented Aug 3, 2012 at 21:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .