How to install Balena Etcher on Ubuntu 22.04
To install Balena Etcher on Ubuntu 22.04
Introduction
BalenaEtcher is a complimentary open-source application designed for writing image files, including .iso and .img formats, as well as compressed folders to storage media. This process enables the creation of live SD cards and USB flash drives. Developed by Balena, it operates under the Apache License 2.0. BalenaEtcher serves as a cross-platform tool that facilitates the secure and efficient flashing of operating system images onto SD cards and USB drives, making it accessible and beneficial for developers and creators globally.
Procedure
Step1: Check the OS version using the below command
Root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy
Step2: Check for updates using the below command
root@linuxhelp:~# sudo apt update
Hit:1 http://in.archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://in.archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Get:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Hit:4 http://in.archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:5 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1,900 kB]
Get:6 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1,679 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages [674 kB]
Get:8 http://in.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [338 kB]
Get:9 http://in.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [2,257 kB]
Get:10 http://in.archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [388 kB]
Get:11 http://in.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,109 kB]
Get:12 http://in.archive.ubuntu.com/ubuntu jammy-updates/universe i386 Packages [724 kB]
Get:13 http://security.ubuntu.com/ubuntu jammy-security/main i386 Packages [514 kB]
Get:14 http://security.ubuntu.com/ubuntu jammy-security/universe i386 Packages [620 kB]
Get:15 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [887 kB]
Fetched 11.3 MB in 4s (2,973 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
8 packages can be upgraded. Run 'apt list --upgradable' to see them.
Step3: Upgrade the package list using the below command
root@linuxhelp:~# sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libflashrom1 libftdi1-2 libllvm13 libwpe-1.0-1 libwpebackend-fdo-1.0-1
Use 'sudo apt autoremove' to remove them.
#OpenSSH CVE-2024-6387 fix is available for all affected Ubuntu releases.
RegreSSHion: Possible RCE Due To A Race Condition In Signal Handling.
#For more details see: https://ubuntu.com/blog/ubuntu-regresshion-security-fix
#.
The following packages have been kept back:
python3-update-manager update-manager update-manager-core
The following packages will be upgraded:
libpython3.10 libpython3.10-minimal libpython3.10-stdlib python3.10 python3.10-minimal
5 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
5 standard LTS security updates
Need to get 7,364 kB of archives.
After this operation, 8,192 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpython3.10 amd64 3.10.12-1~22.04.5 [1,950 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3.10 amd64 3.10.12-1~22.04.5 [509 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpython3.10-stdlib amd64 3.10.12-1~22.04.5 [1,849 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3.10-minimal amd64 3.10.12-1~22.04.5 [2,244 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpython3.10-minimal amd64 3.10.12-1~22.04.5 [813 kB]
Fetched 7,364 kB in 2s (3,383 kB/s)
(Reading database ... 206510 files and directories currently installed.)
Preparing to unpack .../libpython3.10_3.10.12-1~22.04.5_amd64.deb ...
Unpacking libpython3.10:amd64 (3.10.12-1~22.04.5) over (3.10.12-1~22.04.4) ...
Preparing to unpack .../python3.10_3.10.12-1~22.04.5_amd64.deb ...
Unpacking python3.10 (3.10.12-1~22.04.5) over (3.10.12-1~22.04.4) ...
Preparing to unpack .../libpython3.10-stdlib_3.10.12-1~22.04.5_amd64.deb ...
Unpacking libpython3.10-stdlib:amd64 (3.10.12-1~22.04.5) over (3.10.12-1~22.04.4) ...
Preparing to unpack .../python3.10-minimal_3.10.12-1~22.04.5_amd64.deb ...
Unpacking python3.10-minimal (3.10.12-1~22.04.5) over (3.10.12-1~22.04.4) ...
Preparing to unpack .../libpython3.10-minimal_3.10.12-1~22.04.5_amd64.deb ...
Unpacking libpython3.10-minimal:amd64 (3.10.12-1~22.04.5) over (3.10.12-1~22.04.4) ...
Setting up libpython3.10-minimal:amd64 (3.10.12-1~22.04.5) ...
Setting up python3.10-minimal (3.10.12-1~22.04.5) ...
Setting up libpython3.10-stdlib:amd64 (3.10.12-1~22.04.5) ...
Setting up libpython3.10:amd64 (3.10.12-1~22.04.5) ...
Setting up python3.10 (3.10.12-1~22.04.5) ...
Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Step4: Download Balena Etcher application file using the below wget command
root@linuxhelp:~# wget https://github.com/balena-io/etcher/releases/download/v1.7.9/balenaEtcher-1.7.9-ia32.AppImage
--2024-07-30 23:08:40-- https://github.com/balena-io/etcher/releases/download/v1.7.9/balenaEtcher-1.7.9-ia32.AppImage
Resolving github.com (github.com)... 20.207.73.82
Connecting to github.com (github.com)|20.207.73.82|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/45055693/f2dbd474-6d06-4049-b579-79bb1876aab6?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240730%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240730T173840Z&X-Amz-Expires=300&X-Amz-Signature=dde54dac8e4a866067dc68713d626492ac9ef2cc28d3de472c185deaa5cde987&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=45055693&response-content-disposition=attachment%3B%20filename%3DbalenaEtcher-1.7.9-ia32.AppImage&response-content-type=application%2Foctet-stream [following]
--2024-07-30 23:08:40-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/45055693/f2dbd474-6d06-4049-b579-79bb1876aab6?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240730%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240730T173840Z&X-Amz-Expires=300&X-Amz-Signature=dde54dac8e4a866067dc68713d626492ac9ef2cc28d3de472c185deaa5cde987&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=45055693&response-content-disposition=attachment%3B%20filename%3DbalenaEtcher-1.7.9-ia32.AppImage&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.111.133, 185.199.109.133, 185.199.110.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 93990136 (90M) [application/octet-stream]
Saving to: ‘balenaEtcher-1.7.9-ia32.AppImage’
balenaEtcher-1.7.9-ia32.AppImage 100%[=========================================================================>] 89.64M 34.3MB/s in 2.6s
2024-07-30 23:08:44 (34.3 MB/s) - ‘balenaEtcher-1.7.9-ia32.AppImage’ saved [93990136/93990136]
Step5: To list the downloaded file use the below command
root@linuxhelp:~# ll
total 91832
drwx------ 4 root root 4096 Jul 30 23:08 ./
drwxr-xr-x 20 root root 4096 Sep 11 2023 ../
-rw-r--r-- 1 root root 93990136 Apr 22 2022 balenaEtcher-1.7.9-ia32.AppImage
-rw------- 1 root root 1030 Jul 30 04:59 .bash_history
-rw-r--r-- 1 root root 3106 Oct 15 2021 .bashrc
drwx------ 2 root root 4096 Sep 11 2023 .cache/
-rw------- 1 root root 20 Sep 11 2023 .lesshst
-rw-r--r-- 1 root root 161 Jul 9 2019 .profile
drwx------ 5 root root 4096 Sep 11 2023 snap/
-rw------- 1 root root 3199 Jul 21 23:29 .viminfo
-rw-r--r-- 1 root root 165 Jul 30 23:08 .wget-hsts
-rw------- 1 root root 55 Sep 11 2023 .Xauthority
Step6 : After downloading application image install libfuse using the below command.
root@linuxhelp:~# sudo apt install libfuse2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libflashrom1 libftdi1-2 libllvm13 libwpe-1.0-1 libwpebackend-fdo-1.0-1
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
libfuse2
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 90.3 kB of archives.
After this operation, 330 kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu jammy/universe amd64 libfuse2 amd64 2.9.9-5ubuntu3 [90.3 kB]
Fetched 90.3 kB in 1s (74.7 kB/s)
Selecting previously unselected package libfuse2:amd64.
(Reading database ... 206510 files and directories currently installed.)
Preparing to unpack .../libfuse2_2.9.9-5ubuntu3_amd64.deb ...
Unpacking libfuse2:amd64 (2.9.9-5ubuntu3) ...
Setting up libfuse2:amd64 (2.9.9-5ubuntu3) ...
Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
Step7: Make sure that allow executing files , that owner has the read and write access
Step8: right click on the file, and click on run , to run the balena etcher,
Conclusion:
We have reached the end of this article. In this guide, we have walked you through the steps required to install Balena Etcher on Ubuntu 22.04. Your feedback is much welcome.
Comments ( 0 )
No comments available