[NTG-context] Linux upgrade
Taco Hoekwater
taco at elvenkind.com
Fri Jun 23 10:44:18 CEST 2006
John R. Culleton wrote:
>
> Let me start all over. Assuming a working TeX installation
> (either tetex or texlive 2005) what incantation must I perform to
I think it is slighty better to start with TeXLive than with
teTeX because it is a bit newer so you do not have to update
as much, but you may prefer to keep your teTeX.
> upgrade to the latest stable Context and what specific zip file
> should I use?
The wiki is a bit out of date, but there is a complete page on Linux
installations: http://wiki.contextgarden.net/Linux_Installation
After following those instructions, everything should be ok except
for the new ruby script links and texmfstart's warning. For
that, do the following:
* make sure you have ruby installed. If not, do that first
* go to the scripts/context/stubs/unix/ directory in your
freshly unpacked ConTeXt distribution, make sure you
have write permissions to the TeX binaries directory,
and run something like the shell script that follows.
I turned on the interaction of rm and cp, but there are
NO GUARANTEES!
My skill in shell programming is pretty awful.
Cheers, Taco
#!/bin/sh
TEXMFBIN=`which texexec`
TEXMFBIN=`dirname $TEXMFBIN`
if [ -f $TEXMFBIN/texmfstart ]; then
rm -i $TEXMFBIN/texmfstart
fi
cp -i ../../ruby/texmfstart.rb $TEXMFBIN/texmfstart
chmod a+x $TEXMFBIN/texmfstart
for a in *; do
TEST=`which $a`;
echo $TEST;
if [ $TEST ] ; then
rm -i $TEST
fi;
chmod a+x $a
cp -i $a $TEXMFBIN
done;
More information about the ntg-context
mailing list