https://wiki.contextgarden.net/api.php?action=feedcontributions&user=Lee-phillips&feedformat=atomWiki - User contributions [en]2024-03-29T12:17:37ZUser contributionsMediaWiki 1.34.1https://wiki.contextgarden.net/index.php?title=Ubuntu&diff=7716Ubuntu2007-05-15T03:57:45Z<p>Lee-phillips: </p>
<hr />
<div>Each successive version of Ubuntu becomes easier to update, which is why the following sections, arranged in reverse chronological order, get successively longer.<br />
<br />
== Late-breaking bad news for Ubuntu users (March 2007) ==<br />
<br />
The latest Debian packages starting with ConTeXt 2007.03.19 require the texlive 2007 packages. Unfortunately, those packages are built against libpoppler0c2, which hasn't shipped on Ubuntu in an age. And it's not easy to recompile it against libpoppler1, which is part of Ubuntu. So: <b>You won't be able to upgrade until a workaround is figured out,</b> which makes the rest of this page irrelevant until then.<br />
<br />
== Feisty (7.04) ==<br />
<br />
As of today (January 2007), feisty is still alpha test. But when it is released, you should be able to follow the [[Debian installation]]<br />
instructions.<br />
<br />
== Edgy (6.10) ==<br />
<br />
You can follow the [[Debian installation]] instructions. However, the packages depend on having <tt>tex-common</tt> later than v0.35, and the <tt>tex-common</tt> in edgy is v0.25. So go to http://packages.ubuntu.com/tex-common and get the feisty (7.04) package, which will be v0.42 or later, and install it by hand using <br />
<br />
dpkg -i tex-common_0.42_all.deb <br />
<br />
Now go to [[Debian installation]].<br />
<br />
----<br />
''I was able to install the libpoppler0c2 library, a recent texlive, and context 2007.04.17 on my laptop running Edgy simply by using the debian unstable repository. It seems to work fine. Backup your disk before mixing in packages from unstable.''<br />
<br />
--[[User:Lee-phillips|Lee-phillips]] 05:57, 15 May 2007 (CEST) <br />
<br />
== Dapper (6.06) ==<br />
<br />
Ubuntu 6.06 contains teTeX 3.0 (including ConTeXt 2005.01.31), so you can just install <code>tetex-extra</code> and use ConTeXt. However, once you got your feet wet, you will probably want to install a more recent pdfTeX than the 1.21a installed with Ubuntu (since ConTeXt can give you more features with newer pdfTeX's), so again, please follow the instructions for [[TeTeX_3.0 installation]].<br />
<br />
The [[Linux_Installation#Updating_a_Linux_Installation:_Fedora_Core_5|instructions for Fedora Core 5]] are valid for Ubuntu 6.06, with a few caveats:<br />
<br />
* Ubuntu's default installation lacks a few tools that you'll need to build a new version of pdfTeX and '''to run new versions of ConTeXt'''. So before upgrading, do:<br />
<pre> sudo apt-get install build-essential bison flex ruby </pre><br />
* The configuration files that users should edit are under <tt> /etc/texmf/texmf.d</tt>. '''Do not''' edit the <tt>.cnf</tt> files in <tt>/usr/share/texmf/web2c</tt> directly; instead, edit the configlet files in the <tt>.d</tt> directory and run <tt> update-texmf</tt> or <tt>update-updmap</tt>.<br />
<br />
After doing all of the above, the new versions seem to be working:<br />
<br />
<pre><br />
% texexec --version<br />
<br />
TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005<br />
<br />
texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005<br />
texutil : TeXUtil 9.0.1 - ConTeXt / PRAGMA ADE 1992-2006<br />
tex : pdfTeX, 3.141592-1.40.0-beta-20060213 (Web2C 7.5.5)<br />
context : ver: 2006.04.23 23:55<br />
cont-en : ver: 2006.04.23 23:55 fmt: 2006.4.24 mes: english<br />
</pre><br />
<br />
== Breezy (5.10) ==<br />
<br />
''Breezy's support ends in April 2007, so you are advised to upgrade (one Ubuntu release at a time) to a more recent release in order to run a secure system; Dapper (6.06) will be supported until 2009, so that could be a good choice.'' The following instructions are for those who cannot (or do not wish to) upgrade.<br />
<br />
Ubuntu 5.10 does not include a TeX installation by default. The distribution that you get when you install TeX is teTeX-2.0.2, which is too old and will not work with recent ConTeXt versions. So you should not install it, but follow the instructions for [[TeTeX_3.0_installation]]. However, you first must install supplementary packages not included in Ubuntu by default (and I hope I'm not forgetting anything; a number of dependencies will automatically be installed as well):<br />
<br />
# sudo apt-get install build-essential bison flex libncurses5-dev ruby<br />
<br />
Install these packages before trying to compile teTeX 3.0 or running newer ConTeXt release (which use ruby rather than perl), or you will get errors during the compilation or have problems running the results.</div>Lee-phillips