§2023-06-28

  1. [RECOMMENDED]: Use Pi-Apps (click the badge below for more info)
  2. Use the Raspbian Addons repository: https://raspbian-addons.org/
  3. Install it manually:
$ wget https://github.com/Itai-Nelken/BalenaEtcher-arm/releases/download/v1.7.9/balena-etcher-electron_1.7.9+5945ab1f_arm64.deb

$ sudo apt install -y --fix-broken ./balena-etcher-electron_1.7.9+5945ab1f_arm64.deb  
。。。
chmod: cannot access '/opt/balena-etcher-electron/chrome-sandbox': No such file or directory
??? I did, bur
$ /opt/balena-etcher-electron/chrome-sandbox, then

$ sudo apt install -y --fix-broken ./balena-etcher-electron_1.7.9+5945ab1f_arm64.deb  
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'balena-etcher-electron' instead of './balena-etcher-electron_1.7.9+5945ab1f_arm64.deb'
balena-etcher-electron is already the newest version (1.7.9+5945ab1f).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

the apt install, -y flag tells apt to answer yes to all questions, --fix-broken tells apt to install any needed dependencies.


¶ Compile yourself

$ git clone https://github.com/Itai-Nelken/BalenaEtcher-arm.git
$ cd BalenaEtcher-arm.git
$ git tag
...

v1.6.0
v1.7.0
v1.7.3
v1.7.7
v1.7.8
v1.7.9
$ git branch tmp && git checkout tmp
$ time ./compile-etcher-on-arm.sh 
This script will compile and package etcher for arm32/64,
this will take around 30 minutes on a pi 4b 4gb on stock clock speeds booting from a samsung evo+ 32gb sd card and consume almost all memory and cpu.
A fan or at least a heatsink is recommended.
WARNING: THIS SCRIPT WON'T UNINSTALL THE DEPENDENCIES IT INSTALLS!
Do you want to continue [y/n]? y
eading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  python-is-python3 2to3

Package python-setuptools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package python-pip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  python3-pip

E: Unable to locate package python2.7-dev
E: Couldn't find any package by glob 'python2.7-dev'
E: Package 'python-pip' has no installation candidate
E: Package 'python-setuptools' has no installation candidate
E: Package 'python' has no installation candidate
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libxkbfile-dev rpm libsecret-1-dev python2.7-dev python-pip python-setuptools libudev-dev ruby-dev fakeroot python 
Failed to install dependencies!

real	0m57.339s
user	0m0.094s
sys	0m0.109s