Collected by Jan K. Labanowski, jkl@ccl.net
teTeX installation   (TeX for UNIX systems)  Last modified: April 15, 2000.
==================

1) Downloading
  You need to choose some large temp dir (You will need about 50 megabytes
  for downloaded files alone. But you do not need to download the files
  to the same partition where you will install teTeX. In my case
  I was installing using the same partition, since I had a lot of space.
  I downloaded files to  /usr/local/temp, and installed teTeX in
  /usr/local/teTeX (the default directoru) Do not even start the installation
  of teTeX if you do not have 200 MBytes free for the package.

   Go to the URL:
     http://theory.uwinnipeg.ca/mod_perl/tetex.pl
   This is a smart script which connects you to numerous CTAN (Comprehensive
   TeX Archive Network) archives so if one is busy, you can get another one.

   Choose platform (I chose Sparc/Solaris), Binary distribution,
   automatic, and click download teTeX. You will be given a page, with
   file to download.

   You have to download the General Instruction files:

   -rw-rw-r--   1 jkl      jkl          5342 Apr 13 14:25 ANNOUNCE
   -rw-rw-r--   1 jkl      jkl         11003 Apr 13 14:26 INSTALL
   -rw-rw-r--   1 jkl      jkl           312 Apr 13 14:26 VERSION
   -rw-rw-r--   1 jkl      jkl         83616 Apr 13 14:26 install.sh

   Then you have to download your particular binary distributaion.
   In my case:
   -rw-r--r--   1 root     other    3831495 Apr 15 01:21 sparc-solaris.tar.gz

    With other files you have 2 options:
    a) you will download 4 large files which contain specific smaller
       tar.gz archives. It is convenient since it saves you some typing
       and since these are large files, you do not have to peek every
       minute to see if transfer is done. 
       The large files are base.tar, doc.tar, fonts.tar, goodies.tar.
       You unpack them as:
         tar xvf base.tar
         tar xvf doc.tar
         tar xvf fonts.tar
         tar xvf goodies.tar
       They will usually unpack creating a long chain of subdirectories
       representing the full path they had in the ftp site (these tar files
       are not actually stored, but created during the transfer by the ftp
       server on the remote machine). Moreover, this long chain of directories
       can be different for each tar file (you are downloading them from
       randomly selected CTAN archives which can have different organization
       of files). You need to get the in line. For example, your paths are:
        /usr/local/temp/tex-archive/systems/unix/teTeX/1.0/distrib/base
        /usr/local/temp/tex-archive/systems/unix/teTeX/1.0/distrib/doc
        /usr/local/temp/pub/packages/TeX/systems/unix/teTeX/1.0/distrib/fonts
        /usr/local/temp/pub/packages/TeX/systems/unix/teTeX/1.0/distrib/goodies
       you need to do the following:
         cd /usr/local/temp
         mv tex-archive/systems/unix/teTeX/1.0/distrib/base base
         mv tex-archive/systems/unix/teTeX/1.0/distrib/doc doc
         mv pub/packages/TeX/systems/unix/teTeX/1.0/distrib/fonts fonts
         mv pub/packages/TeX/systems/unix/teTeX/1.0/distrib/goodies goodies
       and then delete the long paths as:
         rm -rf tex-archive pub
       and the bulky tar archives (though if you have a lot of disk space,
       I would wait with it to the very end, when you are sure, you do not need
       them):
         tar xvf base.tar
         tar xvf doc.tar
         tar xvf fonts.tar
         tar xvf goodies.tar
       GO TO 2) Unpacking/Installing (skip b below).

    b) you will download each file separately. In this case, you need to 
       put them where they belong:
         cd /usr/local/temp
         mkdir base
         mv latex-base.tar.gz tetex-base.tar.gz base
         mkdir doc
         mv catalogue.tar.gz faqs.tar.gz info.tar.gz man.tar.gz doc
         mkdir fonts 
         mv ae.tar.gz ams.tar.gz blackboard.tar.gz \
            concrete.tar.gz ec.tar.gz hplj.tar.gz misc-mf.tar.gz \
            sauter.tar.gz yandy.tar.gz fonts
         mkdir goodies
         mv context.tar.gz cyrillic.tar.gz drawing.tar.gz fontinst.tar.gz \
            greek.tar.gz latex-extra.tar.gz metapost.tar.gz \
            misc-macros.tar.gz omega.tar.gz polish.tar.gz

2) Unpacking/Installing
   Your directory /usr/local/temp should now look something like below.
   Pay you have to have the binary (in my case: sparc-solaris.tar.gz) in
   your top directory (here: /usr/local/temp).
     ls -lR
   .:
   total 127410
   -rw-r--r--   1 jkl      appl        5342 Apr 14 20:14 ANNOUNCE
   -rw-r--r--   1 jkl      appl       11003 Apr 14 20:14 INSTALL
   -rw-r--r--   1 jkl      appl         312 Apr 14 20:14 VERSION
   drwxrwxr-x   2 14001    451          512 Apr 15 00:28 base
   drwxrwxr-x   2 14001    451          512 Apr 15 00:29 doc
   drwxr-xr-x   2 root     bin          512 Apr 15 00:30 fonts
   drwxr-xr-x   2 root     bin          512 Apr 15 00:31 goodies
   -rw-r--r--   1 jkl      appl       83616 Apr 14 20:29 install.sh
   -rw-r--r--   1 root     other    3831495 Apr 15 01:21 sparc-solaris.tar.gz
   
   ./base:
   total 20752
   -rw-rw-r--   1 14001    451      2473567 Jan 31 23:31 latex-base.tar.gz
   -rw-rw-r--   1 14001    451      8131552 Feb 12 07:32 tetex-base.tar.gz
   
   ./doc:
   total 2306
   -rw-rw-r--   1 14001    451       280530 Feb  1 00:52 catalogue.tar.gz
   -rw-rw-r--   1 14001    451       397933 Jan 31 23:31 faqs.tar.gz
   -rw-rw-r--   1 14001    451       390637 Jul  6  1999 info.tar.gz
   -rw-rw-r--   1 14001    451        74306 Jul  6  1999 man.tar.gz
   
   ./fonts:
   total 7958
   -r--r--r--   1 root     bin       104773 Jul  7  1999 ae.tar.gz
   -r--r--r--   1 root     bin       958498 Jul  7  1999 ams.tar.gz
   -r--r--r--   1 root     bin        88874 Jul  7  1999 blackboard.tar.gz
   -r--r--r--   1 root     bin        42767 Jul  7  1999 concrete.tar.gz
   -r--r--r--   1 root     bin       189700 Jul  7  1999 ec.tar.gz
   -r--r--r--   1 root     bin       308202 Jul  7  1999 hplj.tar.gz
   -r--r--r--   1 root     bin      1042898 Jul  7  1999 misc-mf.tar.gz
   -r--r--r--   1 root     bin       496332 Jul  7  1999 misc-type1.tar.gz
   -r--r--r--   1 root     bin        59082 Jul  7  1999 sauter.tar.gz
   -r--r--r--   1 root     bin       690173 Jul  7  1999 yandy.tar.gz
   
   ./goodies:
   total 33966
   -r--r--r--   1 root     bin      4392471 Jul  7  1999 context.tar.gz
   -r--r--r--   1 root     bin      1665390 Jul  7  1999 cyrillic.tar.gz
   -r--r--r--   1 root     bin      2138611 Jul  7  1999 drawing.tar.gz
   -r--r--r--   1 root     bin       131089 Jul  7  1999 fontinst.tar.gz
   -r--r--r--   1 root     bin        71718 Jul  7  1999 greek.tar.gz
   -r--r--r--   1 root     bin      4583144 Jul  7  1999 latex-extra.tar.gz
   -r--r--r--   1 root     bin       623957 Jul  7  1999 metapost.tar.gz
   -r--r--r--   1 root     bin       292896 Jul  7  1999 misc-macros.tar.gz
   -r--r--r--   1 root     bin      1409842 Jul  7  1999 omega.tar.gz
   -r--r--r--   1 root     bin      1950880 Jul  7  1999 polish.tar.gz
   
   Now you need to set the instal.sh file execute bits:
     chmod a+x install.sh
   and execute it:
     ./install.sh

   after hitting return, you as asked what to do
   I accepted defaults and hit I  (continue installation).

   Then it asked me about extra subdirectory in bin. I said Yes,
   Do you want to omit the extra subdirectory (Y/N)?  Y
   You should choose this option if you install TeX only for the single
   machine, and single operating system. If you install for many machines,
   you better do not read this simplistic description, and study the
   READMEs and INSTALLs in the original distribution.

   Then, you can go and have a cup of coffee, since the script will 
   be unpacking all these files and puting them where they belong
   (in my case, under /usr/local/teTeX).

3) Final touches.
   You need to either put the /usr/local/teTeX/bin in your path
   or make links to /usr/local/bin
   I decided to APPEND(!!!) the following:
     a) to /etc/profile file::
        PATH=${PATH}:/usr/local/teTeX/bin
        export PATH
        if [ "$MANPATH = "" ]; then
           MANPATH=/usr/share/man:/usr/local/man:/usr/local/teTex/man
        else
           MANPATH=${MANPATH}:/usr/local/teTeX/man
        fi
        export MANPATH
     b) to /etc/.login file
        setenv PATH ${PATH}:/usr/local/teTeX/bin
        if (${?MANPATH}) then
          setenv MANPATH ${MANPATH}:/usr/local/teTeX/man
        else 
          setenv MANPATH /usr/share/man:/usr/local/man:/usr/local/teTex/man
        endif
   Then I logged out and logged in again to see if the PATHs were set
   by doing:
      echo $PATH
      echo $MANPATH
   I ran:
     texconfig init
     texconfig confall