Skip to main content
rileyrg
Associate II
September 21, 2021
Solved

How to correctly uninstall and reinstall the stm32cubeide?

  • September 21, 2021
  • 1 reply
  • 12079 views

Hi,

(1) Is it ok to install the IDE as my user and not via sudo? It seemed to be ok until I had some later issues which I wont go into here just yet as almost certainly "user error".

(2) I installed the ide (as user), and because it was saying it couldn't download firmware, I decided to remove it (rm) and reinstall. It says "nothing to install" despite the --target directory AND the previous workspace being non-existent.

So from (2) how is it determining there is "nothing to install" when I have nothing installed?

I'm very new to this IDE so please be patient ;)

This topic has been closed for replies.
Best answer by Julien D

Hi @rileyrg​,

Steps are described in this topic: https://community.st.com/s/question/0D53W00000IreG7SAJ/how-do-i-properly-uninstall-a-previous-cubeide-version-in-linux

Hope this helps.

1 reply

Julien D
Julien DBest answer
ST Employee
September 21, 2021
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.
rileyrg
rileyrgAuthor
Associate II
September 21, 2021

Oh, was an early start. Cant believe I didnt find that. Thanks.

I added a couple of facility scripts that some may find helpful. I use sway/wayland so needed to do the x11/reparenting thing.

https://github.com/rileyrg/linux-init/blob/master/directories/bin/stm32cubeide-uninstall

https://github.com/rileyrg/linux-init/blob/master/directories/bin/stm32cubeide