cancel
Showing results for 
Search instead for 
Did you mean: 

How do I properly uninstall a previous CubeIDE version in Linux?

m4l490n
Associate III

Hello

I just want to know how to properly uninstall a previous version of the CubeIDE in linux. Do I just delete the folder?

1 ACCEPTED SOLUTION

Accepted Solutions
Julien D
ST Employee

Hi m4l490n,

Basically it depends on how you've installed it, using native (deb_bundle.sh, rpm_bundle.sh) or generic installer script (.sh).

Generic installer script

Execute uninstall.sh from the STM32CubeIDE installation folder

Native installation

Usual package manager commands used to remove software.

Debian:

sudo dpkg -r st-stm32cubeide-<version>
sudo dpkg -r st-stlink-server
sudo dpkg -r st-stlink-udev-rules
sudo dpkg -r segger-jlink-udev-rules

RPM:

sudo rpm -e st-stm32cubeide_<version>
sudo rpm -e st-stlink-server
sudo rpm -e st-stlink-udev-rules
sudo rpm -e segger-jlink-udev-rules

Additional folders

# Temp data
rm -rf $HOME/.eclipse
rm -rf $HOME/.stm32cubeide
rm -rf $HOME/.stm32cubemx
rm -rf $HOME/.stmcube
rm -rf $HOME/.stmcufinder
 
# /!\ BE CAREFUL FOR THOSE FOLDERS /!\
# they are the default locations of projects and FW packages.
rm -rf $HOME/STM32CubeIDE
rm -rf $HOME/STM32Cube

HTH

View solution in original post

3 REPLIES 3
Julien D
ST Employee

Hi m4l490n,

Basically it depends on how you've installed it, using native (deb_bundle.sh, rpm_bundle.sh) or generic installer script (.sh).

Generic installer script

Execute uninstall.sh from the STM32CubeIDE installation folder

Native installation

Usual package manager commands used to remove software.

Debian:

sudo dpkg -r st-stm32cubeide-<version>
sudo dpkg -r st-stlink-server
sudo dpkg -r st-stlink-udev-rules
sudo dpkg -r segger-jlink-udev-rules

RPM:

sudo rpm -e st-stm32cubeide_<version>
sudo rpm -e st-stlink-server
sudo rpm -e st-stlink-udev-rules
sudo rpm -e segger-jlink-udev-rules

Additional folders

# Temp data
rm -rf $HOME/.eclipse
rm -rf $HOME/.stm32cubeide
rm -rf $HOME/.stm32cubemx
rm -rf $HOME/.stmcube
rm -rf $HOME/.stmcufinder
 
# /!\ BE CAREFUL FOR THOSE FOLDERS /!\
# they are the default locations of projects and FW packages.
rm -rf $HOME/STM32CubeIDE
rm -rf $HOME/STM32Cube

HTH

eduardo_reis
Senior

Definitively some settings were left out. The IDE was still with the dark theme after reinstalling it.

Hi, I found this folder that isn't mentioned in the solution: ~/your_user/.local/share/STM32CubeIDE

(For Linux Mint)