Sven Ubuntu post-install

From Organic Design wiki

<bash>

  1. !/usr/bin/bash
  2. latex, pdflatex, xdvi, dvips

apt-get -y install tetex-bin

  1. dvipng

apt-get -y install dvipng

  1. gs (ghostscript) and gv (ghostview)

apt-get -y install gv

  1. imagemagick

apt-get -y install imagemagick

  1. unzip

apt-get -y install unzip

  1. Latex contributed packages

cd tmp

  1. Finding texmf root using bash (OS X or linux)

TEXMF=`locate article.sty| grep /article.sty` TEXMF=${TEXMF%%\/tex\/*}

  1. amslatex

cd /tmp wget ftp://ftp.ams.org/pub/tex/amslatex.zip unzip amslatex.zip -d $TEXMF rm amslatex.zip

  1. amsrefs

wget ftp://ftp.ams.org/pub/tex/amsrefs.zip unzip amsrefs.zip -d $TEXMF rm amsrefs.zip

  1. amsfonts

wget http://www.tug.org/tex-archive/fonts/amsfonts.zip unzip amsfonts.zip mkdir $TEXMF/source/ams mkdir $TEXMF/source/ams/amsfonts cp -R amsfonts/plaintex/* $TEXMF/tex/plain/amsfonts/ cp -R amsfonts/doc/* $TEXMF/source/ams/amsfonts/ cp -R amsfonts/doc/latex/* $TEXMF/source/ams/amsfonts/ cp -R amsfonts/latex/* $TEXMF/tex/latex/amsfonts/ cp -R amsfonts/tfm/* $TEXMF/fonts/tfm/ams/ rm amsfonts.zip

mkdir CONTRIBUTED cd CONTRIBUTED

  1. ctable

wget http://www.tug.org/tex-archive/macros/latex/contrib/ctable.zip unzip ctable cd ctable

  1. Chemistry (to do still)
  2. wget http://www.tug.org/cgi-bin/dirarchive/tex-archive/macros/latex/contrib/xymtex.zip
  3. unzip xymtex.zip
  4. rm xymtex.zip

wget http://www.tug.org/cgi-bin/dirarchive/tex-archive/macros/latex/contrib/eepic.zip unzip eepic.zip rm eepic.zip

  1. Concmath requires additional installation see README usually run
  2. latex concmath.ins
  3. wget ftp://cam.ctan.org/tex-archive/macros/latex/contrib/concmath.zip
  1. Subfigure for uathesis class

wget http://www.tug.org/cgi-bin/dirarchive/tex-archive/obsolete/macros/latex/contrib/subfigure.zip unzip subfigure.zip cd subfigure make make clean cd .. rm subfigure.zip

  1. Thesis class for auckland uni

wget http://www.ece.auckland.ac.nz/~swon074/uathesis.1.3b.tar.gz tar -zxvf uathesis.1.3b.tar.gz cd uathesis make make clean rm uathesis.1.3b.tar.gz

cd .. cp -R CONTRIBUTED /usr/share/texmf/tex/latex/base/

  1. create ls-R databases with CONTRIBUTED packages

texhash

  1. f77 compiler for R installation (incomplete due to root access being removed)

apt-get build-dep g77

  1. installing R (http://cran.stat.auckland.ac.nz)
  2. See INSTALL in R-2.2.0 bundle
  1. -------------------------------------------------------------------------------- #
  2. R statistical programming environment

sudo apt-get install xorg-dev apt-get install r-base </bash>