2020-09-24 12:32 PM
Hello
I just want to know how to properly uninstall a previous version of the CubeIDE in linux. Do I just delete the folder?
Solved! Go to Solution.
2020-09-24 11:52 PM
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
2020-09-24 11:52 PM
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
2024-01-09 12:03 PM - edited 2024-01-09 12:03 PM
Definitively some settings were left out. The IDE was still with the dark theme after reinstalling it.
2024-04-30 09:14 PM
Hi, I found this folder that isn't mentioned in the solution: ~/your_user/.local/share/STM32CubeIDE
(For Linux Mint)