Problem with installing the platform

I can't install Arduino AVR Boards on Ubuntu. The error says:

Failed to install platform: arduino:avr.
Error: 13 INTERNAL: Error downloading tool arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7: Get "http://downloads.arduino.cc/tools/avr-gcc-7.3.0-atmel3.6.1-arduino7-x86_64-pc-linux-gnu.tar.bz2": dial tcp 104.18.33.68:80: connect: connection timed out

What is the solution?

1 Like

Using windows. Much simpler. Download installation.exe Click on install installation runs through. Ready to use.

Did you use this download?
https://downloads.arduino.cc/arduino-1.8.19-linux64.tar.xz?_gl=1*m680uw*_ga*MTc1MjI2OTc0Ni4xNjIyNjY1Njky*_ga_NEXN8H46L5*MTY1MzY2NzA1Ny4yMDUwLjEuMTY1MzY2NzU3NS4zMQ..
if not try this one

yeah, i tried both new (2.0) and old (1.8) version of IDE, but the same problem;

So this means you downlaoded exactly this file
https://downloads.arduino.cc/arduino-1.8.19-linux64.tar.**xz**
This file has a very different name than the one you posted

Thi kind of hassling is the reason why I don't use Linux.
Linux is still a nerdy OS where you need a huge knowledge to solve such problems

That is because they are two different things.

This link:

is the download of the Arduino IDE for Linux x86-64.

This link:

is the download of the avr-gcc compiler for Linux x86-64.

The latter is downloaded by the Arduino IDE Boards Manager when you install the "Arduino AVR Boards" platform. @leo9473 did not download the file directly. The Arduino IDE attempted to download it for them.

@leo9473 if you try again now are you able to install "Arduino AVR Boards"? Sometimes these errors can be caused by transient network service outages or degradations that resolve themselves after a while.

I'm having a similar problem installing in Windows. After installing the basic Arduino 2.0 package and launching it, the Arduino environment tries to download the AVR package and fails with the following message:

1 Like

Downloading packages
arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7
Failed to install platform: arduino:avr.
Error: 13 INTERNAL: Error downloading tool arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7: read tcp 10.101.40.42:52267->104.18.33.68:80: wsarecv: An existing connection was forcibly closed by the remote host.
Failed to install library: Arduino_BuiltIn:1.0.0.
Error: 9 FAILED_PRECONDITION: Library 'Arduino_BuiltIn@1.0.0' not found

1 Like

Is this a firewall issue, or something else. (I am in an institutional environment while doing this. At home on my laptop, everything worked just fine.)

1 Like

I'm also having the same problem. I keep getting read tcp errors. It is making it impossible to work with the IDE.

1 Like

Other libraries install okay, but without the main Arduino one, I can't compile.

I am also having the exact same issue. If I install on my Home PC - Everything is fine. Install on my work machine and have the same errors as you.

Same happens if I turn my firewall off, so that isnt blocking any incoming/outgoing connection
Same happens if I install the stand alone Zip file version, or install into a folder other that C:/Program FIles using the .exe or the .MSI

The fact that it installs fine on my home machine means it isn't the package that has bugs, rather something at work. I'm thinking possibly Windows Defender (it's the only Antivirus I have installed). At home I use AGV and have no issues.

I am asking a colleague to look at the Defender logs, will report back if it is that that is blocking anything

1 Like

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