2

I downloaded and installed an older version of STM32CubeIde from this site a while ago. It is a dot DEB file version 1.5. How do I completely remove this software? Ubuntu 20.04 is the OS used. Ubuntu Software doesn't show the installed software. Actually, my Ubuntu Software doesn't show any installed software. Thank you very much for your help.

enter image description here

4

3 Answers 3

1
sudo apt purge segger-jlink-udev-rules st-stlink-server st-stlink-udev-rules st-stm32cubeide-1.5.0

Change the version of the last package with the one you installed 1.5.0 or 1.5.1

2
  • 1
    I purged st-stm32cubeide-1.5.0, and it works. But these two libs libpython2.7 and libpython2.7-minimal look common/important based on their names, I'm afraid to purge them, it might affect other softwares. Thank for your help Utkarsh. You are the man! Commented Dec 7, 2022 at 2:20
  • 1
    Yes you are right It might break other softwares I edited my answer , glad to be of help! Commented Dec 7, 2022 at 2:26
1

From the official installation guide:

The uninstallation of STM32CubeIDE depends on the distribution. Uninstall STM32CubeIDE according to the step below corresponding to the distribution used:

  • For any distribution or if the distribution is not known: sudo /opt/st/stm32cubeide_xxxx/uninstall.sh

  • For RPM-based distributions (such as Red Hat®, CentOS™, SUSE®, Fedora® or others): sudo rpm -e st-stm32cubeide_xxxx st-stlink-udev-rules st-stlink-server seggerjlink-udev-rules

  • For Debian-based distributions (such as Debian®, Ubuntu® or others): sudo apt-get remove st-stm32cubeide-xxxx st-stlink-udev-rules st-stlink-server segger-jlink-udev-rules

1

For those who installed .sh version of cubeide can try this.

  1. open terminal and write below command

user@mp-ex1:~$ cd ~

  1. first find the location of installation which is "/opt/st/"

user@mp-ex1:~$ cd /opt/st/

  1. view the files with list command (it will show version of cube ide you have )

user@mp-ex1:/opt/st$ ls stm32cubeide_1.11.2

  1. go inside this folder

user@mp-ex1:/opt/st$ cd stm32cubeide_1.11.2

  1. list all the files

user@mp-ex1:/opt/st/stm32cubeide_1.11.2$ ls

if you find something like uninstall.sh ,if yes then

  1. run uninstaller script and press y

user@mp-ex1:/opt/st/stm32cubeide_1.11.2$ ./uninstall.sh

this process worked on one ubunto but on other there is no uninstall.sh file i think th installation method was different.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .