Contact Us 1-800-596-4880

Downloading Flex Gateway

Download and install Flex Gateway as a Linux service, or download the Flex Gateway image from the container registry. Downloading is a prerequisite to registering and running a gateway as a Linux service or in a container, Kubernetes cluster, or OpenShift cluster.

To run Flex Gateway inside a virtual machine (VM), download and install it as a Linux service. To run Flex Gateway in a container, Kubernetes cluster, or OpenShift cluster, download the Flex Gateway image.

20%

25%

20%

20%

See Reviewing Prerequisites for details about hardware and software requirements.

Download and Install as a Linux Service

You can download and install Flex Gateway as a service in one of the following Linux environments:

2% Ubuntu

Download and install Flex Gateway as an Ubuntu service
Software Requirements

Flex Gateway runs on the following Long Term Support (LTS) versions of Ubuntu:

  • Ubuntu (Bionic, Focal, Jammy)

Before You Begin

Before getting started, ensure that you have installed the following:

Run Installation Commands

To download and install Flex Gateway as a Ubuntu service, run the command block that performs the following actions:

  • Retrieves the public package keys and adds the package repository

  • Updates the package list

  • Updates apt-get

  • Installs the Flex Gateway package

curl -XGET https://flex-packages.anypoint.mulesoft.com/ubuntu/pubkey.gpg | sudo apt-key add -
echo "deb [arch=amd64] https://flex-packages.anypoint.mulesoft.com/ubuntu $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/mulesoft.list
sudo apt update
sudo apt install -y flex-gateway

After downloading and installing, register Flex Gateway in Connected or Local Mode. For more detail, see Connected Mode vs. Local Mode.

2% Debian

Download and install Flex Gateway as a Debian service
Software Requirements

Flex Gateway runs on the following Long Term Support (LTS) versions of Debian:

  • Debian (Buster, Bullseye, Bookworm)

Before You Begin

Before getting started, ensure that you have installed the following:

Run Installation Commands

To download and install Flex Gateway as a Debian service, run the command block that performs the following actions:

  • Retrieves the public package keys and adds the package repository

  • Updates the package list

  • Updates apt-get

  • Installs the Flex Gateway package

curl -XGET https://flex-packages.anypoint.mulesoft.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb [arch=amd64] https://flex-packages.anypoint.mulesoft.com/debian $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/mulesoft.list
sudo apt update
sudo apt install -y flex-gateway

After downloading and installing, register Flex Gateway in Connected or Local Mode. For more detail, see Connected Mode vs. Local Mode.

2% Amazon Linux

Download and install Flex Gateway as an Amazon Linux service
Software Requirements

Flex Gateway runs on the following Long Term Support (LTS) version of Amazon Linux:

  • Amazon Linux 2023

Before You Begin

Before getting started, ensure that you have installed the following:

Run Installation Commands

To download and install Flex Gateway as an Amazon Linux service, run the command block that performs the following actions:

  • Adds the Flex Gateway package repository with a reference to its public key

  • Installs the Flex Gateway package

sudo tee /etc/yum.repos.d/flex-gateway.repo <<\EOF
[flex-gateway]
name = Anypoint Flex Gateway
baseurl = https://flex-packages.anypoint.mulesoft.com/amazonlinux/2023/main
gpgcheck=1
gpgkey=https://flex-packages.anypoint.mulesoft.com/amazonlinux/pubkey.gpg
repo_gpgcheck=1
enabled=1
EOF

sudo yum install -y flex-gateway

After downloading and installing, register Flex Gateway in Connected or Local Mode. For more detail, see Connected Mode vs. Local Mode.

2% Red Hat Enterprise Linux

Download and install Flex Gateway as a Red Hat Enterprise Linux service
Software Requirements

Flex Gateway runs on the following Long Term Support (LTS) versions of RHEL:

  • Red Hat Enterprise Linux (8, 9)

Before You Begin

Before getting started, ensure that you have installed the following:

Run Installation Commands

To download and install Flex Gateway as a Red Hat Enterprise Linux service, run the command block that performs the following actions:

  • Adds the Flex Gateway package repository with a reference to its public key

  • Installs the Flex Gateway package

sudo tee /etc/yum.repos.d/flex-gateway.repo <<\EOF
[flex-gateway]
name = Anypoint Flex Gateway
baseurl = https://flex-packages.anypoint.mulesoft.com/rhel/$releasever/main
gpgcheck=1
gpgkey=https://flex-packages.anypoint.mulesoft.com/rhel/pubkey.gpg
repo_gpgcheck=1
enabled=1
EOF

sudo yum install -y flex-gateway

After downloading and installing, register Flex Gateway in Connected or Local Mode. For more detail, see Connected Mode vs. Local Mode.

6% Red Hat Enterprise Linux on IBM Power

Download and install Flex Gateway as a Red Hat Enterprise Linux service on IBM Power
Software Requirements

Flex Gateway runs on the following Long Term Support (LTS) versions:

  • Red Hat Enterprise Linux (8, 9) on IBM Power (ppc64le)

Before You Begin

Before getting started, ensure that you have installed the following:

Run Installation Commands

To download and install Flex Gateway as a Red Hat Enterprise Linux service, run the command block that performs the following actions:

  • Adds the Flex Gateway package repository with a reference to its public key

  • Installs the Flex Gateway package

sudo tee /etc/yum.repos.d/flex-gateway.repo <<\EOF
[flex-gateway]
name = Anypoint Flex Gateway
baseurl = https://flex-packages.anypoint.mulesoft.com/rhel/$releasever/main
gpgcheck=1
gpgkey=https://flex-packages.anypoint.mulesoft.com/rhel/pubkey.gpg
repo_gpgcheck=1
enabled=1
EOF

sudo yum install -y flex-gateway

After downloading and installing, register Flex Gateway in Connected or Local Mode. For more detail, see Connected Mode vs. Local Mode.

2% SUSE Linux Enterprise

Download and install Flex Gateway as a SUSE Linux Enterprise service
Software Requirements

Flex Gateway runs on the following Long Term Support (LTS) versions:

  • SUSE Linux Enterprise (SLES 15 SP2)

Before You Begin

Before getting started, ensure that you have installed the following:

Run Installation Commands

To download and install Flex Gateway as a SUSE Linux Enterprise service, run the command block that performs the following actions:

  • Adds the Flex Gateway package repository with a reference to its public key

  • Installs the Flex Gateway package

sudo rpm --import https://flex-packages.anypoint.mulesoft.com/suse/pubkey.gpg
sudo tee /etc/zypp/repos.d/flex-gateway.repo <<\EOF
[flex-gateway]
name = Anypoint Flex Gateway
baseurl = https://flex-packages.anypoint.mulesoft.com/suse/$releasever_major/main
gpgcheck = 1
gpgkey = https://flex-packages.anypoint.mulesoft.com/suse/pubkey.gpg
repo_gpgcheck = 1
enabled = 1
EOF

sudo zypper refresh
sudo zypper install -y flex-gateway

After downloading and installing, register Flex Gateway in Connected or Local Mode. For more detail, see Connected Mode vs. Local Mode.

6% SUSE Linux Enterprise on IBM Power

Download and install Flex Gateway as a SUSE Linux Enterprise service on IBM Power
Software Requirements

Flex Gateway runs on the following Long Term Support (LTS) versions:

  • SUSE Linux Enterprise (SLES 15 SP2) on IBM Power (ppc64le)

Before You Begin

Before getting started, ensure that you have installed the following:

Run Installation Commands

To download and install Flex Gateway as a SUSE Linux Enterprise service on IBM Power, run the command block that performs the following actions:

  • Adds the Flex Gateway package repository with a reference to its public key

  • Installs the Flex Gateway package

sudo rpm --import https://flex-packages.anypoint.mulesoft.com/suse/pubkey.gpg
sudo tee /etc/zypp/repos.d/flex-gateway.repo <<\EOF
[flex-gateway]
name = Anypoint Flex Gateway
baseurl = https://flex-packages.anypoint.mulesoft.com/suse/$releasever_major/main
gpgcheck = 1
gpgkey = https://flex-packages.anypoint.mulesoft.com/suse/pubkey.gpg
repo_gpgcheck = 1
enabled = 1
EOF

sudo zypper refresh
sudo zypper install -y flex-gateway

After downloading and installing, register Flex Gateway in Connected or Local Mode. For more detail, see Connected Mode vs. Local Mode.

2% CentOS

Download and install Flex Gateway as a CentOS service
Software Requirements

Flex Gateway runs on the following Long Term Support (LTS) version of CentOS:

  • CentOS 8

Before You Begin

Before getting started, ensure that you have installed the following:

Run Installation Commands

To download and install Flex Gateway as an CentOS service, run the command block that performs the following actions:

  • Adds the Flex Gateway package repository with a reference to its public key

  • Installs the Flex Gateway package

sudo tee /etc/yum.repos.d/flex-gateway.repo <<\EOF
[flex-gateway]
name = Anypoint Flex Gateway
baseurl = https://flex-packages.anypoint.mulesoft.com/centos/$releasever/main
gpgcheck=1
gpgkey=https://flex-packages.anypoint.mulesoft.com/centos/pubkey.gpg
repo_gpgcheck=1
enabled=1
EOF

sudo yum install -y flex-gateway

Due to issues with the CentOS package manager you might encounter the following error:

Error: Failed to download metadata for repo 'AppStream': Cannot prepare internal mirrorlist: No URLs in mirrorlist

If you encounter this error, run the following command:

sudo sed -i -e "s|mirrorlist=|#mirrorlist=|g" -e "s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g" /etc/yum.repos.d/CentOS-*

After downloading and installing, register Flex Gateway in Connected or Local Mode. For more detail, see Connected Mode vs. Local Mode.

Download Flex Gateway for Use in a Container

You can download and install Flex Gateway in one of the following containers:

2% Docker

Download Flex Gateway for Use in a Docker Container

Download the Flex Gateway container image to prepare for registering and running a gateway in a Docker container:

  1. Download the Flex Gateway Docker image:

    docker pull mulesoft/flex-gateway:latest
  2. Verify that the download succeeded:

    docker images mulesoft/flex-gateway

    When successful, the command lists the Flex Gateway container image, for example:

    REPOSITORY                   TAG
    mulesoft/flex-gateway        latest

After downloading and installing, register Flex Gateway in Connected or Local Mode. For more detail, see Connected Mode vs. Local Mode.

2% Podman

Download Flex Gateway for Use in a Podman Container

Download the Flex Gateway container image to prepare for registering and running a gateway in a Podman container:

  1. Download the Flex Gateway container image:

    podman pull docker.io/mulesoft/flex-gateway:latest
  2. Verify that the download succeeded:

    podman images docker.io/mulesoft/flex-gateway

    When successful, the command lists the Flex Gateway container image, for example:

    REPOSITORY                   TAG
    mulesoft/flex-gateway        latest

After downloading and installing, register Flex Gateway in Connected or Local Mode. For more detail, see Connected Mode vs. Local Mode.

Download Flex Gateway for Use in a Kubernetes Cluster

Download the Flex Gateway container image to prepare for registering and running a gateway in a Kubernetes cluster. You can use the following container runtimes:

Docker
  1. Download the Flex Gateway container image:

    docker pull mulesoft/flex-gateway:latest
  2. Verify that the download succeeded:

    docker images mulesoft/flex-gateway

    When successful, the command lists the Flex Gateway container image, for example:

    REPOSITORY                   TAG
    mulesoft/flex-gateway        latest

After downloading the image, register Flex Gateway in Connected or Local Mode.

Podman
  1. Download the Flex Gateway container image:

    podman pull docker.io/mulesoft/flex-gateway:latest
  2. Verify that the download succeeded:

    podman images docker.io/mulesoft/flex-gateway

    When successful, the command lists the Flex Gateway container image, for example:

    REPOSITORY                   TAG
    mulesoft/flex-gateway        latest

After downloading the image, register Flex Gateway in Connected or Local Mode.

Download Flex Gateway for Use in an OpenShift Cluster

Download the Flex Gateway container image to prepare for registering and running a gateway in an OpenShift cluster. You can use the following container runtimes:

Docker
  1. Download the Flex Gateway container image:

    docker pull mulesoft/flex-gateway:latest
  2. Verify that the download succeeded:

    docker images mulesoft/flex-gateway

    When successful, the command lists the Flex Gateway container image, for example:

    REPOSITORY                   TAG
    mulesoft/flex-gateway        latest

After downloading the image, register Flex Gateway in Connected or Local Mode.

Podman
  1. Download the Flex Gateway container image:

    podman pull docker.io/mulesoft/flex-gateway:latest
  2. Verify that the download succeeded:

    podman images docker.io/mulesoft/flex-gateway

    When successful, the command lists the Flex Gateway container image, for example:

    REPOSITORY                   TAG
    mulesoft/flex-gateway        latest

After downloading the image, register Flex Gateway in Connected or Local Mode.