Install LeanFT for Linux

This section includes instructions for installing LeanFT on Linux.

Manual installation

Download the LeanFT installation file and install LeanFT on your machine: 

  1. Make sure your machine meets the installation Prerequisites before you start, otherwise the installation will fail.
  2. Download the LeanFT installation file to the machine where you plan to install LeanFT:

    1. Log into Micro Focus 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

  3. Launch the installation:

    Mode To run the installation
    GUI

    In Terminal:

    1. Change to the folder containing the setup file you extracted.
    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 setup file you extracted.
    2. Run ./LeanFTSetup -i console
  4. 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.

    Select the IDEs on which to install the LeanFT plugin and enter the relevant path to the IDE.

    Note: The LeanFT installation can install the LeanFT plugin only on one of the Eclipse/Spring Tool Suite/JBoss Developer Studio IDEs. Accordingly, you can enter only one IDE path for this option.

    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.

    Note: If you run the Full installation but do not select any IDEs for the LeanFT plugin, the LeanFT SDKs are still installed in /opt/leanft/sdk

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

Back to top

Silent installation

Download the LeanFT installation file and run a silent LeanFT installation:

  1. Make sure your machine meets the installation Prerequisites before you start, otherwise the installation will fail.

  2. Download the LeanFT installation file to the machine where you plan to install LeanFT:

    1. Log into Micro Focus 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

  3. 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,androidstudioplugin

    Integrate LeanFT plugin for IDE (Eclipse, Spring Tool Suite, JBoss Developer Studio, or IntelliJ IDEA)

    Add the CUSTOM_ECLIPSE_PATH / CUSTOM_INTELLIJ_PATH options.

    For example, full installation with LeanFT plugin for Eclipse, Spring Tool Suite, JBoss Developer Studio, IntelliJ IDEA, and Android Studio:

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

    Specify a Functional Testing concurrent license server

    LICSVR=<server name or IP>

  4. 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