Install LeanFT for Linux

Manual installation

  1. Log into HPE SaaS. If you do not have an account, create one.

  2. Go to the LeanFT download page, and download the installation file for Linux.

  3. In Terminal, extract the installation file: tar xvfz LeanFTSetup_Linux.tar.gz
  4. Launch the installation:

    Mode To run the installation
    GUI

    In Terminal:

    1. Change to the folder containing the extracted setup file.
    2. Run ./LeanFTSetup.

    Note: The GUI installer is not supported when working via ssh or telnet. In this case, the installer will automatically open in console mode.

    Terminal
    1. Change to the folder containing the extracted setup file.
    2. Run ./LeanFTSetup -i console.
  5. Follow the on-screen instructions.

    On the Installation Options page, select an installation mode:

    Mode For computers where you plan to...
    LeanFT runtime engine only

    Run existing LeanFT tests without modifying them.

    Full installation

    Develop and run LeanFT tests.

    When selecting the IDE (Eclipse and/or IntelliJ IDEA) on which to install the LeanFT plugin, enter the full folder path.

    When the full installation is complete, a LeanFT menu is added to the IDEs you selected, and LeanFT project templates are available in the IDE.

    Notes: If you choose not to install the LeanFT plugin on any IDEs, the LeanFT SDKs are still installed in /opt/leanft/sdk

  6. When the installation is complete, continue with Post installation.

Back to top

Silent installation

  1. Prerequisites for silent installation:

    • ROOT permissions

    • Node.js 4.1.2 or later must be installed

      Caution: If Node.js is not installed, the silent installation will fail.

  2. Log into HPE SaaS. If you do not have an account, create one.

  3. Go to the LeanFT download page, and click the link to download the zipped Linux installation file, LeanFTSetup_Linux.tar.gz.

  4. In Terminal, extract the installation file: tar xvfz LeanFTSetup_Linux.tar.gz

  5. Run the relevant commands:

    Installation option Command

    LeanFT runtime engine only

    For running existing LeanFT tests

    $./LeanFTSetup.bin -i silent DCHOSEN_INSTALL_FEATURE_LIST=engine

    Full installation

    For developing and running LeanFT tests

    $./LeanFTSetup.bin -i silent DCHOSEN_INSTALL_FEATURE_LIST=engine,sdk,eclipseplugin,intellijplugin

    Integrate LeanFT plugin for IDE (Eclipse or IntelliJ IDEA)

    Add the CUSTOM_ECLIPSE_PATH / CUSTOM_INTELLIJ_PATH options.

    For example, full installation with LeanFT plugin for Eclipse and IntelliJ IDEA:

    $./LeanFTSetup.bin -i silent DCHOSEN_INSTALL_FEATURE_LIST=engine,sdk,eclipseplugin,intellijplugin DCUSTOM_ECLIPSE_PATH=/tmp/eclipse DCUSTOM_INTELLIJ_PATH=/tmp/intellij

    Specify a Functional Testing concurrent license server

    LICSVR=<server name or IP>

  6. When the installation is complete, continue with Post installation.

Back to top

Default LeanFT installation location on Linux

LeanFT is installed by default in /opt/leanft.

After installation, you can move the installation folder to another location if you need to. However, if you do this, you must define a system variable called LEANFT_HOME that points to the new location.

Back to top