Skip to main content

Installing latex-beamer on local directory

First, let the latex aware of the new local directory:
  1. Check out the current configuration file by:kpsewhich texmf.cnf
  2. Copy the texmf.cnf into /home/userName/texmf
  3. Modify the texmf.cnf by add the new directory into the variable TEXMF into texmf.cnf
  4. set up the environment variable TEXMFCNF=/home/userName/texmf either in bashrc or cshrc
  5. Notice that kpsewhich texmf.cnf will return the new local directory after that
By doing so, from now on, latex is going to check the local directory for any style file. Now, assume the local installation directory is going to be /home/userName/texmf/
  1. Download latex-beamer-versionNumber.tar.gz
  2. Create directories /home/userName/texmf/tex/latex/
  3. ln -s /path/to/latex-beamer-versionNumber.tar.gz /home/userName/texmf/tex/latex/
  4. Extract the latex beamer over ther, i.e. tar -xzvf latex-beamer-versionNumber.tar.gz
  5. sudo update-texmf
  6. sudo texhash

Comments

Popular posts from this blog