Skip to content

Failed to install arduino-cli using the script #2370

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
3 tasks done
LRDPRDX opened this issue Oct 17, 2023 · 10 comments
Closed
3 tasks done

Failed to install arduino-cli using the script #2370

LRDPRDX opened this issue Oct 17, 2023 · 10 comments
Assignees
Labels
conclusion: declined Will not be worked on status: waiting for information More information must be provided before work can proceed topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project

Comments

@LRDPRDX
Copy link

LRDPRDX commented Oct 17, 2023

Describe the problem

Sorry if there is an issue regarding this, I didn't find any.

I am trying to install arduino-cli on raspberry pi 4.

curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=~/local/bin sh

and I'm getting the error:

Installing in /home/raspy/local/bin
ARCH=ARM64
OS=Linux
Using curl as download tool
Downloading https://downloads.arduino.cc/arduino-cli/arduino-cli_0.34.2_Linux_ARM64.tar.gz
tar: /tmp/arduino-cli_0.34.2_Linux_ARM64.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
Failed to install arduino-cli

To reproduce

curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=~/local/bin sh

Expected behavior

arduino-cli should be installed.

Arduino CLI version

0.34.2 (trying to install)

Operating system

Linux

Operating system version

Ubuntu 23.04

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the nightly build
  • My report contains all necessary details
@LRDPRDX LRDPRDX added the type: imperfection Perceived defect in any part of project label Oct 17, 2023
@per1234 per1234 added the topic: infrastructure Related to project infrastructure label Oct 17, 2023
@tobozo

This comment was marked as off-topic.

@brentru

This comment was marked as off-topic.

@cmaglie

This comment was marked as off-topic.

@brentru

This comment was marked as off-topic.

@per1234

This comment was marked as off-topic.

@umbynos
Copy link
Contributor

umbynos commented Dec 1, 2023

I just tried to install the CLI with the command above and it went smoothly on a raspberry PI. Are you sure you have the correct permissions for /home/raspy/local/bin?

@umbynos umbynos self-assigned this Dec 1, 2023
@LRDPRDX
Copy link
Author

LRDPRDX commented Dec 2, 2023

Hi, @umbynos . Actually I was able to reproduce this issue on my desktop. More over, I see your comment is after the fix commit has been merged.

EDIT: Sorry didn't noticed the comments and the status is still Open :)

@LRDPRDX
Copy link
Author

LRDPRDX commented Dec 2, 2023

@umbynos Actually, now I just tried to reproduce it on my laptop -- everything works great. I will check the permissions etc on my raspberry on Monday (the device islocated at my working place).

@umbynos umbynos added the status: waiting for information More information must be provided before work can proceed label Dec 5, 2023
@alessio-perugini
Copy link
Contributor

@LRDPRDX any update on this? 🤓

@cmaglie
Copy link
Member

cmaglie commented Oct 28, 2024

In the meantime, a lot of effort went into the install.sh script, so I'm closing this issue as outdated.
If you are still experiencing the issue, feel free to reopen it or, better yet, open a new issue so we can restart with fresh information.

@cmaglie cmaglie closed this as completed Oct 28, 2024
@cmaglie cmaglie added the conclusion: declined Will not be worked on label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: declined Will not be worked on status: waiting for information More information must be provided before work can proceed topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

7 participants