Uninstalling a Library in arduino.app?

Hi, is it possible to uninstall an installed library from within the arduino.app (Mac in this case)? Or how should I proceed to achieve this?

Hi @krischu. By "arduino.app", do you mean the Arduino IDE? If so, which version of the Arduino IDE are you using?

Welcome to the forum

Do you mean a library that is installed on a Mac PC ?

If so, then delete the library folder from the libraries folder of your sketchbook folder

Thanks. Arduino IDE, yes. 1.8.19
I found it. Went into ~/Documents/Arduino/libraries and deleted the directory carrying the name of the package to remove. Unless there is a direct way to do this from within the IDE.

Version 2.0 of the IDE has functionality to uninstall libraries

1 Like

Ah, thanks, interesting. But I don't see a Version 2.0 for download. Does the arduino.app have an "in app" update feature?

What is the "app" that you are referring to ?

Is it the IDE running on the PC or something else ?

The download links are here under the "Future Version of the Arduino IDE" section of the Software page:

https://www.arduino.cc/en/software#future-version-of-the-arduino-ide

Yes, but not advisable.
Ctrl-Click Applications/Arduino.app and select "Show Package Contents". Then drill down into Contents/Java/libraries and delete the folder containing the built-in library you want to eliminate.

Also, navigate to Library/Arduino15 in your home directory. Drill down to Library/Arduino15/packages/arduino/hardware/avr//libraries to see if there is an updated version of the library you want to eliminate.

Yes, I mean the arduino IDE

Exactly which library do you want to delete and why ?

I wanted to delete nanoforth 1.4.4 which I installed using the library manager. It conflicts with the nanoforth.ino when the latter is installed from github.

That would be in Documents/Arduino/libraries/nanoFORTH

I'm surprised that the one from github is not installed in the same directory.

@johnwasser : I don't quite get your comment. I cloned the github repo somewhere in the file system, loaded the nanoFORTH.ino file from there into a project. Tried to compile it. Got an error. Then I used the library manager to install nanoFORTH. And of course this one got installed into ~/Documents/Arduino/libraries/nanoFORTH.

Then I got a doubly defined symbol from the linker and the question arose, how to deinstall the nanoFORTH package again.

Or is there a way to install from github directly in the arduino IDE? Did you mean this?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.