Skip to content

Installing the Flight Environment

The OpenFlight project packages tools as both RPMs and debs that are hosted in package repositories which can be quickly installed with a couple of commands.

Setting Up The Repository

  • Install the OpenFlight release RPM:
    sudo yum install https://repo.openflighthpc.org/pub/centos/7/openflighthpc-release-latest.noarch.rpm
    
  • Rebuild the yum cache:
    sudo yum makecache
    
  • Most tools require packages available in the EPEL repository, installing it is recommended:
    sudo yum install epel-release
    
  • Install the OpenFlight release RPM:
    sudo dnf install https://repo.openflighthpc.org/openflight/centos/8/x86_64/openflighthpc-release-3-1.noarch.rpm
    
  • Add the Power Tools repository:
    sudo dnf config-manager --set-enabled powertools
    
  • Most tools require packages available in the EPEL repository, installing it is recommended:
    sudo dnf install epel-release
    
  • Finally, rebuild the dnf cache:
    sudo dnf makecache
    
  • Install the OpenFlight release RPM:
    sudo dnf install https://repo.openflighthpc.org/openflight/centos/9/x86_64/openflighthpc-release-3-1.noarch.rpm
    
  • Add the Code Ready Builder repository:
    sudo dnf config-manager --set-enabled crb
    
  • Most tools require packages available in the EPEL repository, installing it is recommended:
    sudo dnf install epel-release
    
  • Finally, rebuild the dnf cache:
    sudo dnf makecache
    
  • Import the public signature for OpenFlight:
    sudo apt-key adv --fetch-keys https://repo.openflighthpc.org/openflighthpc-archive-key.asc
    
  • Install the OpenFlight repository:
    sudo apt-add-repository "deb https://repo.openflighthpc.org/openflight/ubuntu stable main"
    
  • Update the apt cache:
    sudo apt-get update
    

Info

There are 3 repositories available - production (enabled by default), dev (providing development releases of tools) and vault (access to old, unsupported versions and retired tools).

Installing the Tools

Flight User Suite

The quickest and simplest way to get up and running with the user suite is to install the group package for the tools. This will ensure that compatible versions of all the tools are installed.

  • Install the user suite group package
    sudo yum install flight-user-suite
    
  • Install the user suite group package
    sudo dnf install flight-user-suite
    
  • Install the user suite group package
    sudo apt-get install flight-user-suite
    

Note

After installation, logout and back in again to expose the flight command to the shell

Flight Web Suite

Flight Web Suite consists of multiple packages so the simplest way to get going with it is to install the group package. Some elements of the Web Suite are dependent on tools in the User Suite and will pull those packages in if the User Suite is not already installed.

  • Install the web suite group package
    sudo yum install flight-web-suite
    
  • Install extra optional packages
    sudo yum install python-websockify xorg-x11-apps netpbm-progs
    
  • Install the web suite group package
    sudo dnf install flight-web-suite
    
  • Install extra optional packages
    sudo dnf install python-websockify xorg-x11-apps netpbm-progs
    
  • Install the web suite group package
    sudo apt-get install flight-web-suite
    
  • Install extra optional packages
    sudo apt-get install netpbm x11-apps websockify
    

Flight Admin Tools

The Flight Admin Tools exist separately and can be installed by name from the repositories. The packages are:

  • flight-gather
  • flight-hunter
  • flight-profile
  • flight-pdsh
  • Install the desired tool
    sudo yum install PACKAGE
    
  • Install the admin tools
    sudo dnf install PACKAGE
    
  • Install the admin tools
    sudo apt-get install PACKAGE