User Tools

Site Tools


firefox-software

Firefox

Firefox is a web browser by Mozilla.

v33.1.1

Usage

  • Show all available versions of firefox
    module avail firefox
  • Load firefox module:
    module load firefox/33.1.1
  • get quick help:
    firefox --help

Installation

  • Firefox comes already compiled, so all you have to do is unzip & copy to /export/apps/
    wget "https://download.mozilla.org/?product=firefox-33.1.1-SSL&os=linux64&lang=en-US" -O firefox-33.1.1.tar.bz2
    tar -xvf firefox-33.1.1.tar.bz2
  • Create firefox directory in /export/apps/firefox/33.1.1/ & copy the tarball content
    sudo mkdir -p /export/apps/firefox/33.1.1/
    sudo cp -r firefox/* /export/apps/firefox/33.1.1/
  • firefox module file
    #%Module1.0
    #####################################################################
    ##
    ## Firefox Modulefile
    ## By James Oguya, j.oguya@cgiar.org
    ## November, 2014
    ##
    
    set appname         firefox
    set version         33.1.1
    set prefix          /export/apps/${appname}/${version}
    set exec_prefix     ${prefix}
    set url "https://www.mozilla.org/en-US/firefox/"
    set msg "Firefox is a web browser by Mozilla.\nFirefox Official Site: $url\n"
    
    module-whatis $msg
    
    proc ModulesHelp { } {
        puts stderr "$msg"
    }
    
    conflict        firefox
    
    prepend-path    PATH    ${exec_prefix}
  • deploy the new module using ansible
    ansible-playbook site.yml -u joguya -K -s --limit=compute --tags=module
firefox-software.txt · Last modified: 2014/12/02 09:33 by joguya