Installtion Issue

wizard612powerz
Posts: 4
Joined: Mon Dec 09, 2024 5:28 pm

Installtion Issue

Postby wizard612powerz » Thu Sep 18, 2025 12:52 pm

Im on Xubuntu operating system.

I have cloned this repo https://github.com/espressif/esp-idf after it was cloned

I have ran the install script ./install.sh and it always stops when trying to download this link here https://github.com/espressif/crosstool- ... gnu.tar.xz

It always stops when it is at 66%, I have tried to download it manually and also it stops after 66%,

What could be the issue can someone assist? Thanks for your time!

wizard612powerz
Posts: 4
Joined: Mon Dec 09, 2024 5:28 pm

Re: Installtion Issue

Postby wizard612powerz » Sun Sep 21, 2025 7:14 pm

If you are experiencing issues downloading the toolchain file from GitHub (such as the download reaching 98% and then restarting repeatedly), the Espressif documentation suggests an alternative approach: you can set an environment variable to prefer Espressif's own download server for GitHub asset downloads. This can help if GitHub is slow or unreliable in your region.

To do this, run the following commands before running the install script:

Code: Select all

cd ~/esp/esp-idf
export IDF_GITHUB_ASSETS="dl.espressif.com/github_assets"
./install.sh
If you are in China, you can use the China-based server for faster downloads:

Code: Select all

cd ~/esp/esp-idf
export IDF_GITHUB_ASSETS="dl.espressif.cn/github_assets"
./install.sh
This setting only affects the download of individual tools from GitHub releases and does not change the URLs used to access any Git repositories. If you wish to customize the tools installation path, make sure to export the IDF_TOOLS_PATH variable before running the script as well.

Who is online

Users browsing this forum: Applebot, Bing [Bot], Qwantbot, YisouSpider and 3 guests