I was setting up STM32CubeIDE 2.3.0 on Ubuntu for my new STM32N6570-DK board. The installer kept quitting with:
I ACCEPT (y) / I DO NOT ACCEPT (N) [N/y]
*** License NOT accepted. Not installing software.
I typed y, but it still aborted. I tried a few times.
Why it happens
The installer shows a long license text, and I was pressing Enter to scroll through it. Those extra Enter presses get saved up. When the [N/y] question appears, a leftover Enter answers it first. The capital N means "No" is the default, so the install stops before your y is read.
The fix
-
Run the installer with
sudo. It installs.debpackages to/opt/st/:sudo ./stm32cubeide_-Lin-Deb-x86_64.sh
When the license text starts, press
qonce. Don't scroll with Enter. This jumps straight to the question.Type
yand press Enter.If a second license shows up (ST-LINK server / udev rules), do the same:
q, theny.
That's it. It installs fine.
If it still fails
You can unpack the bundle and install the packages with apt:
sudo ./stm32cubeide_<version>-Lin-Deb-x86_64.sh --noexec --target ~/stm32cubeide_extract
cd ~/stm32cubeide_extract
sudo apt install ./*.deb
(Installing this way still means you accept the ST license.)
Top comments (0)