First, let the latex aware of the new local directory:
- Check out the current configuration file by:kpsewhich texmf.cnf
- Copy the texmf.cnf into /home/userName/texmf
- Modify the texmf.cnf by add the new directory into the variable TEXMF into texmf.cnf
- set up the environment variable TEXMFCNF=/home/userName/texmf either in bashrc or cshrc
- Notice that kpsewhich texmf.cnf will return the new local directory after that
- Download latex-beamer-versionNumber.tar.gz
- Create directories /home/userName/texmf/tex/latex/
- ln -s /path/to/latex-beamer-versionNumber.tar.gz /home/userName/texmf/tex/latex/
- Extract the latex beamer over ther, i.e. tar -xzvf latex-beamer-versionNumber.tar.gz
- sudo update-texmf
- sudo texhash
Comments