Skip to main content
Associate II
May 6, 2026
Solved

Storage Location for Software Packs

  • May 6, 2026
  • 4 replies
  • 370 views

Hello,

I was wondering where the installed software packs are stored on the disk?

I would like to have a look at the content and the examples, assuming e.g. the HAL pack or the Nucleo board pack contains these examples.

Best answer by Sara BEN HADJ YAHYA

Hello @User_MV  and Welcome to ST Community,

As a complement to my colleague’s previous comment, the packs are installed and can be found in the following locations:

  • Windows: C:\Users\<mylogin>\AppData\Local\stm32cube\packs
  • Linux: ~/ .local/share/stm32cube/packs
  • macOS: ~/Library/Application Support/stm32cube/packs

Please note that these packs can be used by STM32CubeMX2, but they do not contain examples. For the list of available examples, please refer to the STM32 Example Library.

I have submitted an internal ticket to add this information to the online documentation of STM32CubeMX2. We will keep you posted.

Internal ticket number: CDM0062457 (This is an internal tracking number and is not accessible or usable by customers).

Regards,

Sara.

4 replies

Technical Moderator
May 7, 2026

Hello @User_MV 

The software packs are stored in the following path: C:\Users\username\AppData\Local\stm32cube\packs\STMicroelectronics.

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question.Saket_Om"
Sara BEN HADJ YAHYA
Technical Moderator
May 7, 2026

Hello @User_MV  and Welcome to ST Community,

As a complement to my colleague’s previous comment, the packs are installed and can be found in the following locations:

  • Windows: C:\Users\<mylogin>\AppData\Local\stm32cube\packs
  • Linux: ~/ .local/share/stm32cube/packs
  • macOS: ~/Library/Application Support/stm32cube/packs

Please note that these packs can be used by STM32CubeMX2, but they do not contain examples. For the list of available examples, please refer to the STM32 Example Library.

I have submitted an internal ticket to add this information to the online documentation of STM32CubeMX2. We will keep you posted.

Internal ticket number: CDM0062457 (This is an internal tracking number and is not accessible or usable by customers).

Regards,

Sara.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
Pavel A.
Super User
May 7, 2026

@Sara BEN HADJ YAHYA  Are the examples in STM32 Example Library usable with CubeIDE 2.x (Eclipse)? Selection of IDE there shows only EWARM, cmake or "open-cmsis" (which is CMake again?) 

User_MVAuthor
Associate II
May 8, 2026

Hello,

you can import the cmake based examples in CubeIDE: "Import" > "Import STM32 Project" > "STM32 CMake Project"

However, the project configuration is not as integrated as with a native Eclipse project. 

On the other hand, an independent project configuration is probably what you want, so you can build it easily in a CI environment.

There is a Eclipse Marketplace Plugin for CMake syntax highlighting. Maybe that will be integrated in CubeIDE in the future...

Pavel A.
Super User
May 9, 2026

Just a small note for people who want the Cube data installed in a global location, rather than per-user (dependent on the username):

You can create a global directory, for example C:\ST\stm32cube\packs or /opt/ST/stm32cube/packs and move the stuff there. Then create a symbolic link from the per-user "packs" directory to the global one. Yes, symbolic links work in Windows too (not "shortcuts"!). 

 

MM..1
Chief III
May 10, 2026

I only add many years exist Public folder in Users. Why installers not use it or better in config optios add button MOVE TO PUBLIC... Is more better as create symlinks. 

Pavel A.
Super User
May 10, 2026

Copilot says that Windows has two "shared" directories: c:\users\public and c:\ProgramData.

* The latter is suitable for CubeMX databases, as they are not "user documents".

* The c:\users\public is intended for "documents" and other files shared by human users.

It gives the following explanation:

 


Think of it like this:

C:\ProgramData = The building’s utility room
(electrical panels, plumbing, boiler—used by the building, not residents)

C:\Users\Public = The shared lounge
(a place where residents can leave books, games, or notes for each other)

Both are shared, but for completely different reasons.