STM32CubeIDE installation (Linux®)

This section describes how to install the STM32CubeIDE product on Linux®.

Note: The installation is done through a product installer. Linux® root privileges are required to complete the installation.

The installer comes in different bundles to suit the various Linux® distributions. The bundles are named according to:

stm32cubeide_VERSION-Lin-PACKAGE-ARCHITECTURE.sh where:

- VERSION is the actual product version and build date. Example: 2.2.0_2026_20190221_1309

- ARCHITECTURE is the architecture of the target host computer to run STM32CubeIDE . Example: x86_64

-PACKAGE is the Linux® package type to be installed. The supported packages are:

– RPM for Fedora®/CentOS™, for example: Lin-RPM-x86_64.sh

– Deb for Ubuntu®, for example: Lin-Deb-x86_64.sh

– No package to add for generic Linux®, for example: Lin-x86_64.sh Proceed as follows:

  1. Navigate to the location of the installer file with a command console on the host computer.

  2. Enter the following command in the console window:

sudo sh./st-stm32cubeide_VERSION_ARCHITECHURE.PACKAGE where: - VERSION, ARCHITECTURE and PACKAGE must be entered after the selected Linux® package.

  1. Follow the further instructions provided through the console window.

Manual installation (RPM/Deb)

For RPM-based distributions (Red Hat®, CentOS™, SUSE®, Fedora®): sudo sh./stm32cubeide_2.2.0_xxxx-Lin-Deb-x86_64.sh

For Debian-based distributions (Debian®, Ubuntu®):

sudo sh./stm32cubeide_2.2.0_xxxx-Lin-Deb-x86_64.sh