You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: FAQ.md
+40-32Lines changed: 40 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# Arduino Library Manager FAQ
2
2
3
+
## General
4
+
3
5
### What is the Arduino Library Manager?
4
6
5
7
Library Manager is a feature of the Arduino development software which makes it easy for users to find, install, and update both official and 3rd party libraries.
[The Library Manager index](http://downloads.arduino.cc/libraries/library_index.json) contains the data for every release of every one of the thousands of libraries that have been added to the Library Manager list. This index is used by Library Manager to provide installation and updates of the libraries as well as to generate automated documentation pages for the [Arduino Library Reference](https://www.arduino.cc/reference/en/libraries/).
24
+
25
+
Every hour, the automated Library Manager indexer system:
26
+
27
+
1. checks every repository in the Library Manager list for new tags
28
+
1. checks whether those tags meet [the requirements for addition to the index](#update-requirements)
29
+
1. adds entries to the index for compliant tags
30
+
1. pushes the updated index to Arduino's download server
31
+
32
+
## Submission
33
+
34
+
### How can I add my library to Library Manager?
35
+
36
+
Follow the instructions [here](README.md#adding-a-library-to-library-manager).
37
+
19
38
### What are the requirements for a library to be added to Library Manager?
20
39
21
40
<aid="submission-requirements"></a>
@@ -40,20 +59,7 @@ Arduino Lint is also available as a GitHub Actions action that can be used in th
40
59
41
60
https://github.com/arduino/arduino-lint-action
42
61
43
-
### How is the Library Manager index generated?
44
-
45
-
[The Library Manager index](http://downloads.arduino.cc/libraries/library_index.json) contains the data for every release of every one of the thousands of libraries that have been added to the Library Manager list. This index is used by Library Manager to provide installation and updates of the libraries as well as to generate automated documentation pages for the [Arduino Library Reference](https://www.arduino.cc/reference/en/libraries/).
46
-
47
-
Every hour, the automated Library Manager indexer system:
48
-
49
-
1. checks every repository in the Library Manager list for new tags
50
-
1. checks whether those tags meet [the requirements for addition to the index](#update-requirements)
51
-
1. adds entries to the index for compliant tags
52
-
1. pushes the updated index to Arduino's download server
53
-
54
-
### How can I add my library to Library Manager?
55
-
56
-
Follow the instructions [here](README.md#adding-a-library-to-library-manager).
62
+
## Updates
57
63
58
64
### How can I publish a new release once my library is in the list?
59
65
@@ -71,6 +77,10 @@ Follow the instructions [here](README.md#adding-a-library-to-library-manager).
71
77
-[ ] The `name` property in library.properties must not have changed from the value it had when the library was submitted. If you must change the library name, see [this](#how-can-i-change-my-librarys-name).
72
78
-[ ] The `version` property in library.properties must not be the same as it was in a tag previously added to the Library Manager index.
73
79
80
+
### Why aren't releases of my library being picked up by Library Manager?
81
+
82
+
The Library Manager indexer job will reject any releases which aren't compliant with all [the requirements](#update-requirements).
83
+
74
84
### I did something wrong! How can I change or unpublish an already published library?
75
85
76
86
In order to change contents of an already published library version, you can recreate its related tag.
@@ -79,10 +89,6 @@ In order to **un**publish a library version, delete its related tag/release.
79
89
80
90
Once you have done that, open an issue in [the issue tracker of this repository](https://github.com/arduino/library-registry/issues), specifying the URL of the library repository and requesting that the library be updated.
81
91
82
-
### Why aren't releases of my library being picked up by Library Manager?
83
-
84
-
The Library Manager indexer job will reject any releases which aren't compliant with all [the requirements](#update-requirements).
85
-
86
92
### How can I change my library's name?
87
93
88
94
For the sake of continuity, libraries in the Library Manager list are locked to the name they had at the time they were added to the list. Changing the library name can be disruptive to its users because this is the unique identifier for the library used by the Arduino development software [command line interfaces](https://arduino.github.io/arduino-cli/latest/commands/arduino-cli_lib/), sketch [metadata](https://arduino.github.io/arduino-cli/latest/sketch-specification/#metadata), library [dependencies](https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format), and installation location.
@@ -93,20 +99,6 @@ If you wish to change the name it will need to be done manually by request:
93
99
1. Create a release or tag.
94
100
1. Submit an [issue report](https://github.com/arduino/library-registry/issues) requesting the name be changed and stating the URL of your library's repository.
95
101
96
-
### How can I remove a library I installed via Library Manager?
97
-
98
-
#### Arduino IDE 2.x
99
-
100
-
Hover the mouse pointer over the "INSTALLED" label on the library listing in Library Manager. It will now change to "UNINSTALL", which you can click to uninstall that library.
101
-
102
-
#### Classic Arduino IDE
103
-
104
-
This version of the Arduino IDE does not have an integrated uninstall functionality, so you will need to remove the library manually. Open your sketchbook's `libraries` folder with your operating system's file explorer (Windows: Explorer, Mac: Finder, Linux: Nautilus, kfiles...) and delete the folder containing the library.
105
-
106
-
#### Arduino CLI
107
-
108
-
Libraries can be uninstalled via [the `arduino-cli lib uninstall` command](https://arduino.github.io/arduino-cli/latest/commands/arduino-cli_lib_uninstall/).
109
-
110
102
## Limitations
111
103
112
104
### Is my Git repository OK?
@@ -117,6 +109,8 @@ Your repo is OK if it meets all [the requirements listed here](#submission-requi
117
109
118
110
No. The library archive distributed by Library Manager will only contain an empty folder where the submodule should be.
119
111
112
+
## Usage
113
+
120
114
### Can I add my own URL with my own library index?
121
115
122
116
No. At the moment, the Arduino development software handles one URL only, and that's written into the code (dev jargon: it's hardcoded), this is a known limitation.
@@ -131,3 +125,17 @@ For more information, see the [`library.properties` file format documentation](h
131
125
### Can I install multiple versions of one library and use the proper one in my sketches?
132
126
133
127
Library Manager installs libraries into your sketchbook's `libraries` folder. Since you cannot create two folders with the same name, we can't install two versions of the same library. However, you can switch between library versions by selecting the appropriate one from the version dropdown that pops up on Library Manager when more than one version is available.
128
+
129
+
### How can I remove a library I installed via Library Manager?
130
+
131
+
#### Arduino IDE 2.x
132
+
133
+
Hover the mouse pointer over the "INSTALLED" label on the library listing in Library Manager. It will now change to "UNINSTALL", which you can click to uninstall that library.
134
+
135
+
#### Classic Arduino IDE
136
+
137
+
This version of the Arduino IDE does not have an integrated uninstall functionality, so you will need to remove the library manually. Open your sketchbook's `libraries` folder with your operating system's file explorer (Windows: Explorer, Mac: Finder, Linux: Nautilus, kfiles...) and delete the folder containing the library.
138
+
139
+
#### Arduino CLI
140
+
141
+
Libraries can be uninstalled via [the `arduino-cli lib uninstall` command](https://arduino.github.io/arduino-cli/latest/commands/arduino-cli_lib_uninstall/).
0 commit comments