Sven Ubuntu post-install
<bash>
- !/usr/bin/bash
- latex, pdflatex, xdvi, dvips
apt-get -y install tetex-bin
- dvipng
apt-get -y install dvipng
- gs (ghostscript) and gv (ghostview)
apt-get -y install gv
- imagemagick
apt-get -y install imagemagick
- unzip
apt-get -y install unzip
- Latex contributed packages
cd tmp
- Finding texmf root using bash (OS X or linux)
TEXMF=`locate article.sty| grep /article.sty` TEXMF=${TEXMF%%\/tex\/*}
- amslatex
cd /tmp wget ftp://ftp.ams.org/pub/tex/amslatex.zip unzip amslatex.zip -d $TEXMF rm amslatex.zip
- amsrefs
wget ftp://ftp.ams.org/pub/tex/amsrefs.zip unzip amsrefs.zip -d $TEXMF rm amsrefs.zip
- 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
- ctable
wget http://www.tug.org/tex-archive/macros/latex/contrib/ctable.zip unzip ctable cd ctable
- Chemistry (to do still)
- wget http://www.tug.org/cgi-bin/dirarchive/tex-archive/macros/latex/contrib/xymtex.zip
- unzip xymtex.zip
- rm xymtex.zip
wget http://www.tug.org/cgi-bin/dirarchive/tex-archive/macros/latex/contrib/eepic.zip unzip eepic.zip rm eepic.zip
- Concmath requires additional installation see README usually run
- latex concmath.ins
- wget ftp://cam.ctan.org/tex-archive/macros/latex/contrib/concmath.zip
- 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
- 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/
- create ls-R databases with CONTRIBUTED packages
texhash
- f77 compiler for R installation (incomplete due to root access being removed)
apt-get build-dep g77
- installing R (http://cran.stat.auckland.ac.nz)
- See INSTALL in R-2.2.0 bundle
- -------------------------------------------------------------------------------- #
- R statistical programming environment
sudo apt-get install xorg-dev apt-get install r-base </bash>