etcher icon indicating copy to clipboard operation
etcher copied to clipboard

AUR package took more than 2 hours to install!

Open samiurprapon opened this issue 2 years ago • 7 comments

  • Etcher version: 1.11.5
  • Operating system and architecture: EndeavourOs
  • Image flashed: No
  • What do you think should have happened: yay -Sy balena-etcher and Installation done within 2-15 minutes
  • What happened: It took more than 143 minutes to install on a machine (Spec. Ryzen 9)
  • Do you see any meaningful error information in the DevTools?

samiurprapon avatar Dec 27 '22 13:12 samiurprapon

@samiurprapon I'm not familiar with EndeavourOs at all. I see it's based on arch, does it means it build everything from source ?

aethernet avatar Dec 30 '22 09:12 aethernet

Reading a little about it, AUR is a community package repository and we're not publishing ourselves. I do not know how it's managed or how the build/install process works in that case.

Also, 1.11.5 is a pre-release and is not intended to be distributed to package managers.

I would advise you to get 1.10.6 (the latest stable release)

Or to compile from sources.

aethernet avatar Dec 30 '22 10:12 aethernet

@aethernet EndeavourOS is arch based distro, unlike Manjaro EOS usages mostly arch packages.

I checked the PKGBUILD and re-run yay -S balena-etcher to verify which packages it builds from source.

  • Python-2.7.18 alone took 30 minutes to build.
  • Electron 13 requires chromium-91-patchset-5 to build again! 🐸 _chromium itself 1.13 GiB in size

basically building python and electron took more than 2 hours! I don't think it will do any better on Arch Linux or Manjaro.

samiurprapon avatar Jan 02 '23 22:01 samiurprapon

After about 30min yay is still "syncing projects". Seam to be some sort of source file-syncing. I've gone from 8% to 15%+ storage on a 234GB drive.

I hope I am able to clear some of these files later...

OskyEdz avatar Oct 18 '23 12:10 OskyEdz

After about 30min yay is still "syncing projects". Seam to be some sort of source file-syncing. I've gone from 8% to 15%+ storage on a 234GB drive.

I hope I am able to clear some of these files later...

All I can say rather than using etcher AUR package, AppImage is more convenient.

samiurprapon avatar Oct 18 '23 12:10 samiurprapon

After about 30min yay is still "syncing projects". Seam to be some sort of source file-syncing. I've gone from 8% to 15%+ storage on a 234GB drive. I hope I am able to clear some of these files later...

All I can say rather than using etcher AUR package, AppImage is more convenient.

I didn't really consider other options as I've had etcher-bin installed since before. But it was recently marked as out-of-date. That package was a lot faster to install.

OskyEdz avatar Oct 18 '23 12:10 OskyEdz

I'd be very happy if Balena decides to support/distribute Flatpaks at some point in the future so more people could install and use Etcher on Linux very easily, regardless of distro (even Steam Decks). Other similar utilities on Linux have been a hit-or-miss for me.

A similar AUR package that takes absolutely forever to build and install (using a helper such as yay) is LibreWolf. Thanks to it being on Flathub as a Flatpak though, it takes less than a minute to install and start using it that way instead.

Looks like an Etcher Flatpak has been requested/discussed in at least these issues: #2019, #3785, and #4085.

irfanhakim-as avatar Nov 10 '23 13:11 irfanhakim-as