{"id":32,"date":"2011-08-13T13:58:00","date_gmt":"2011-08-13T13:58:00","guid":{"rendered":"http:\/\/peintinger.com\/?p=32"},"modified":"2015-06-13T18:23:00","modified_gmt":"2015-06-13T18:23:00","slug":"installing-tex-live-2011-on-ubuntu","status":"publish","type":"post","link":"https:\/\/peintinger.com\/2011\/08\/13\/installing-tex-live-2011-on-ubuntu\/","title":{"rendered":"Installing TeX Live 2011 on Ubuntu"},"content":{"rendered":"<p>Debian  and Ubuntu provide very good packages of Tex Live. But it takes some  time untile they switch to newer versions. The current stable Ubuntu  11.04 (Natty Narwhal) comes with Tex Live 2009 and this is not going to  change for Ubuntu 11.10 Oneiric Ocelot.<\/p>\n<p>If  you\u2019re a version-number-junkie like me and you do not want to wait I  have written a little tutorial how to install the latest TeX Live on  Ubuntu.<\/p>\n<p>To my knowledge there is currently no ppa available. So the installation has to be done manually.<br \/>\nDoing  this, you are additionally able to use the command \u201ctlmgr\u2019, giving you  better control of upgrades and which packages will be installed.<\/p>\n<p>Basically, there are two options. <\/p>\n<p>The  first is, removing the Tex Live 2009 that comes with Ubuntu, doing the  manual installation and then telling the system, that the installation  was done manually and dependencies are met for other packages, e.g. Kile  or other LaTeX editors. According to the listing, the<a href=\"http:\/\/packages.ubuntu.com\/lucid\/texlive\"> <\/a>package  is a dummy package whose only purpose is to install a decent selection  of dependencies. So it is in principle possible to install the  texlive-full package without installing any of its dependencies.<\/p>\n<p>The  second, and possibly easier solution is to simply let the one that  comes with the system installed and install the new version side by  side. This wastes a lot of disk space, but that should not be an issue  on modern machines. And if you do this right, you get the new features  without running into the risk that the upgrade may break some  dependencies from other packages. It is also much easier to go back. If  something goes wrong you simply delete the directory where you installed  it. And that is what the purpose of the \/usr\/local directory is.  Install TeX Live to \/usr\/local\/texlive using the installer, ensure that  \/usr\/local\/texlive&#8230;\/bin path appears before \/usr\/bin in your path settings and that TEXMFCNF points to  the right place. By doing this you simply ignore the system installation  of Tex Live and are able to revert to it if necessary.<\/p>\n<p>Therefore this tutorial goes for the second option.<\/p>\n<h3 dir=\"ltr\">Installing TeX Live over the Internet<\/h3>\n<h6 dir=\"ltr\">1. Dowload the TeV Live installer.<\/h6>\n<h6 dir=\"ltr\">Open e terminal and type: <br \/>\n<\/h6>\n<div dir=\"ltr\" style=\"margin-bottom: 0pt; margin-right: -22.5pt; margin-top: 0pt;\">wget <a href=\"http:\/\/mirror.ctan.org\/systems\/texlive\/tlnet\/install-tl-unx.tar.gz\">http:\/\/mirror.ctan.org\/systems\/texlive\/tlnet\/install-tl-unx.tar.gz<\/a><\/div>\n<p><\/p>\n<h6 dir=\"ltr\">2. Extract the installer<\/h6>\n<p>\ntar -zxvf install-tl-unx.tar.gz<\/p>\n<h6 dir=\"ltr\">3. Run the installer with super user privileges<\/h6>\n<p>\ncd install-tl-20110812<br \/>\nsudo .\/install-tl<\/p>\n<p>\nThe  installer should automatically detect the correct settings. It wants to  do a full installation to \/usr\/local which is exactly what we want. So  press \u201cI\u201d to start the installation. This may now take a while. Don\u2019t  worry about some connection errors. It will automatically retry.<\/p>\n<h6 dir=\"ltr\">4. Path settings<\/h6>\n<p>Add the following to your .bashrc if you use the bash or .zshrc file if you use the zshell with your favourite editor:<\/p>\n<p>\nexport PATH=&#8221;\/usr\/local\/texlive\/2011\/bin\/x86_64-linux:$PATH&#8221;<br \/>\nexport MANPATH=&#8221;\/usr\/local\/texlive\/2011\/texmf\/doc\/man:$MANPATH&#8221;<br \/>\nexport INFOPATH=&#8221;\/usr\/local\/texlive\/2011\/texmf\/doc\/info:$INFOPATH&#8221;<br \/>\nexport TEXMFHOME=&#8221;\/usr\/local\/texlive\/2011\/texmf&#8221;<br \/>\nexport TEXMFCNF=&#8221;\/usr\/local\/texlive\/2011\/texmf\/web2c&#8221;<\/p>\n<p>\nThen source the file or restart the shell and you\u2019re done!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Debian and Ubuntu provide very good packages of Tex Live. But it takes some time untile they switch to newer versions. The current stable Ubuntu 11.04 (Natty Narwhal) comes with Tex Live 2009 and this is not going to change for Ubuntu 11.10 Oneiric Ocelot. If you\u2019re a version-number-junkie like me and you do not &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/peintinger.com\/2011\/08\/13\/installing-tex-live-2011-on-ubuntu\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Installing TeX Live 2011 on Ubuntu&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[17],"class_list":["post-32","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-ubuntu-linux-latex-tex-live-2011"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6W04n-w","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/peintinger.com\/wp-json\/wp\/v2\/posts\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/peintinger.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/peintinger.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/peintinger.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/peintinger.com\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":1,"href":"https:\/\/peintinger.com\/wp-json\/wp\/v2\/posts\/32\/revisions"}],"predecessor-version":[{"id":69,"href":"https:\/\/peintinger.com\/wp-json\/wp\/v2\/posts\/32\/revisions\/69"}],"wp:attachment":[{"href":"https:\/\/peintinger.com\/wp-json\/wp\/v2\/media?parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/peintinger.com\/wp-json\/wp\/v2\/categories?post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/peintinger.com\/wp-json\/wp\/v2\/tags?post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}