Difference between revisions of "Ubuntu"

From Wiki
Jump to navigation Jump to search
(Updated for Ubuntu 10.10, rest of the page is probably obsolete at this point.)
Line 1: Line 1:
 
Here are instructions grouped according to the version of Ubuntu you are running.
 
Here are instructions grouped according to the version of Ubuntu you are running.
 +
 +
== Maverick (10.10) ==
 +
 +
TeX Live and ConTeXt have been part of Ubuntu's main repositories since Ubuntu 7.10, so you can simply <code>apt-get install context</code> to install ConTeXt and its dependencies.
 +
 +
The dependencies pull in various PDF utilities which you will probably find useful, including <code>pdfcrop</code>.
 +
 +
If you would like to use the [http://www.tug.org/texworks/ TeXworks] GUI-based TeX editing environment usually included with TeX Live CDs, it is available via <code>apt-get install texworks</code> and will appear under Applications, Science & Math.
 +
 +
See also:
 +
* [[Setting up TeXworks]]
 +
* [[Using LuaTeX in Ubuntu]]
  
 
== Gutsy (7.10) ==
 
== Gutsy (7.10) ==

Revision as of 19:54, 1 March 2011

Here are instructions grouped according to the version of Ubuntu you are running.

Maverick (10.10)

TeX Live and ConTeXt have been part of Ubuntu's main repositories since Ubuntu 7.10, so you can simply apt-get install context to install ConTeXt and its dependencies.

The dependencies pull in various PDF utilities which you will probably find useful, including pdfcrop.

If you would like to use the TeXworks GUI-based TeX editing environment usually included with TeX Live CDs, it is available via apt-get install texworks and will appear under Applications, Science & Math.

See also:

Gutsy (7.10)

Gutsy will be released in October 2007. Its repositories, which came from Debian unstable just after feisty (7.04) was released, already have the texlive 2007 and recent ConTeXt packages. So you could use them now (if you are brave).

Edgy (6.10) and Feisty (7.04)

Unfortunately, you cannot use the repository given in Debian installation because the Debian packages were compiled with a (very very slightly) newer libc6 than the one that comes with Ubuntu 7.04. Here instead are slightly tested packages backported for Ubuntu 6.10 (edgy); they also work on my Feisty (7.04) laptop. To use them put these two lines in your /etc/apt/sources.list:

  deb     http://web.mit.edu/download/sanjoy/texlive-backports/ edgy/
  deb-src http://web.mit.edu/download/sanjoy/texlive-backports/ edgy/

Then you can install the texlive 2007 and recent context packages. See the Debian installation instructions for the details, but here is the quickstart:

 apt-get update
 apt-get install cm-super texlive-fonts-recommended context context-nonfree context-doc-nonfree

That command also installs the needed texlive packages for pdftex, metapost, lmodern etc. The cm-super package is in the universe repository so you'll need that enabled in your sources.list. You should not need to chase down the old teTeX 3.0 packages, which will be removed automatically by the above installation line. To test whether the basics of ConTeXt are working after the upgrade, try:

 ctxtools --contextversion

Let me (Sanjoy) know if you find anything broken.