Skip to content

Libraries installation/uninstallation name inconcistency #362

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Renaud11232 opened this issue Aug 27, 2019 · 8 comments · Fixed by #443
Closed

Libraries installation/uninstallation name inconcistency #362

Renaud11232 opened this issue Aug 27, 2019 · 8 comments · Fixed by #443

Comments

@Renaud11232
Copy link

Bug Report

The name to use when installing or uninstalling libraries is inconsistent

Current behavior

Installing libraries work as intented. ie:

PS C:\Users\gaspa\Downloads> .\arduino-cli.exe lib install "LiquidCrystal I2C"
Downloading LiquidCrystal [email protected]...
LiquidCrystal [email protected] already downloaded
Installing LiquidCrystal [email protected]...
Installed LiquidCrystal [email protected]

But trying to remove the library using the name used when installing, does not always remove the library.

PS C:\Users\gaspa\Downloads> .\arduino-cli.exe lib uninstall "LiquidCrystal I2C"
Library LiquidCrystal I2C is not installed

In this case I had to replace the space with a _

PS C:\Users\gaspa\Downloads> .\arduino-cli.exe lib uninstall "LiquidCrystal_I2C"
Uninstalling [email protected]...

Expected behavior

The libraries should be installed and uninstalled using the same name

Environment

CLI version

PS C:\Users\gaspa\Downloads> .\arduino-cli.exe version
arduino-cli.exe Version: 0.4.0 Commit: =98b7be9

OS/Platform

Windows 10 Pro build 1903

@howjmay
Copy link
Contributor

howjmay commented Sep 21, 2019

If possible, could I try this one?

@masci
Copy link
Contributor

masci commented Sep 22, 2019

@howjmay all yours! 😄
Thanks!

@howjmay
Copy link
Contributor

howjmay commented Sep 22, 2019

My pleasure

@howjmay
Copy link
Contributor

howjmay commented Sep 27, 2019

@masci May I ask that whether all the library with the following link can be downloaded with arduino-cli ?
https://www.arduinolibraries.info/

@masci
Copy link
Contributor

masci commented Sep 27, 2019

@howjmay http://downloads.arduino.cc/libraries/library_index.json contains all the libraries that can be installed out of the box with the CLI, then users can add any number of additional json indexes listing their own "unofficial" libraries.

@howjmay
Copy link
Contributor

howjmay commented Sep 27, 2019

Thanks

@cmaglie
Copy link
Member

cmaglie commented Sep 30, 2019

May I ask that whether all the library with the following link can be downloaded with arduino-cli ?
https://www.arduinolibraries.info/

AFAIK this website takes the list from our library_index.json so: yes.

@howjmay
Copy link
Contributor

howjmay commented Sep 30, 2019

Thank you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants