The following assumes a 14.04 LTS Ubuntu environment.
    curl -o play-2.2.2.zip http://downloads.typesafe.com/play/2.2.2/play-2.2.2.zip?_ga=1.108187585.2125525425.1400865911
    unzip play-2.2.2.zip
    export PATH=./play-2.2.2:$PATH
   
    # Test Play installation works
    play
   
    # If Java JDK not installed
    apt-get install openjdk-7-jdk
    # tlmgr http://www.tug.org/texlive/acquire-netinstall.html
    curl -o install-tl-unx.tar.gz http://ctan.mirrors.hoobly.com/systems/texlive/tlnet/install-tl-unx.tar.gz
    tar -zxvf install-tl-unx.tar.gz
    install-tl-20140524/install-tl
    sed -i '1i export PATH=YOUR_TLMGR_ABSOLUTE_INSTALLATION_PATH:$PATH' $HOME/.bash_aliases
    tlmgr init-usertree
    tlmgr option repository http://ctan.mackichan.com/systems/texlive/tlnet
  
    # Tex packages
    # xzdec needed for the standalone package
    apt-get install xzdec
    tlmgr install standalone
    tlmgr install varwidth
  
    apt-get install imagemagick 
    git clone https://github.com/milieu/texup.git
    cd texup
    play run