2020-02-14 09:10 AM
I would like to remove STM32CubeIDE (v1.2.0) from my Mac (os 10.14.6).
Removing the IDE is straightforward, just drag the .app to the trash. But how do I remove the ST Link Server from my machine? The ST Link Server Installer doesn't specify where it is putting files on my Mac, and I would like to remove these too.
Thanks!
Solved! Go to Solution.
2020-02-14 10:10 AM
Hi BFrau.1,
Here is the way to remove packages on MacOS:
# retrieve package name
$ pkgutil --pkgs | grep stlink
com.st.pkg.st-stlink-server
# check root package location
$ pkgutil --pkg-info com.st.pkg.st-stlink-server
package-id: com.st.pkg.st-stlink-server
version: xxxx
volume: /
location: /
install-time: xxxx
# list package file
$ pkgutil --only-files --files com.st.pkg.st-stlink-server
usr/local/bin/stlink-server
usr/local/lib/libusb-1.0.0.dylib
usr/local/lib/libusb-1.0.dylib
# manually remove such files (never understood why it's not done by the next command)
$ sudo rm /usr/local/bin/stlink-server /usr/local/lib/libusb-1.0.0.dylib /usr/local/lib/libusb-1.0.dylib
# remove the package from database
$ sudo pkgutil --forget com.st.pkg.st-stlink-server
HTH
2020-02-14 10:10 AM
Hi BFrau.1,
Here is the way to remove packages on MacOS:
# retrieve package name
$ pkgutil --pkgs | grep stlink
com.st.pkg.st-stlink-server
# check root package location
$ pkgutil --pkg-info com.st.pkg.st-stlink-server
package-id: com.st.pkg.st-stlink-server
version: xxxx
volume: /
location: /
install-time: xxxx
# list package file
$ pkgutil --only-files --files com.st.pkg.st-stlink-server
usr/local/bin/stlink-server
usr/local/lib/libusb-1.0.0.dylib
usr/local/lib/libusb-1.0.dylib
# manually remove such files (never understood why it's not done by the next command)
$ sudo rm /usr/local/bin/stlink-server /usr/local/lib/libusb-1.0.0.dylib /usr/local/lib/libusb-1.0.dylib
# remove the package from database
$ sudo pkgutil --forget com.st.pkg.st-stlink-server
HTH
2020-02-17 07:52 AM
Thanks a lot, Julien. This was exactly what I was looking for!