Ubuntu: balenaEtcher on Ubuntu 24.04
Step 1: Download BalenaEtcher on Ubuntu 24.04
We decided to go to its Zipped file package that contains the BalenaEthcer executable binary.
To download the latest Zipped package of Balen Etcher, execute the given command in the terminal:
curl -s https://api.github.com/repos/balena-io/etcher/releases/latest | \ jq -r '.assets[] | select(.name | contains("x64") and endswith(".zip")) | .browser_download_url' | \ xargs wget
Step 2: Extract the Zipped File
Extract the Archive: This command will extract the files into a balenaEtcher directory.
unzip balenaEtcher-linux-x64-*.zip -d balenaEtcher
Step 3: Install in /opt Directory
Let’s move the extracted folder to a secure place, such as “/opt,” to ensure we won’t accidentally delete the BalenaEtcher directory we just extracted.
sudo mv balenaEtcher /opt
Step 4: Create a Desktop and Launcher Shortcut
To access the BalenaEtcher quickly, we can create Desktop and launcher shortcuts. For that, follow the given commands:
Download balenEtcher icon:
wget -O /opt/balenaEtcher/balenaEtcher.png https://linux.how2shout.com/wp-content/uploads/2024/08/etcher.png
Create Shortcuts: For Desktop
nano ~/Desktop/balenaEtcher.desktop
Paste the following lines:
[Desktop Entry] Name=Balena Etcher Comment=Flash OS images to SD cards & USB drives safely and easily Exec=/opt/balenaEtcher/./balena-etcher --no-sandbox Icon=/opt/balenaEtcher/balenaEtcher.png Terminal=false Type=Application Categories=Utility;DiskUtility;
Shortcuts For Launcher:
sudo cp ~/Desktop/balenaEtcher.desktop ~/.local/share/applications/balenaEtcher.desktop
Log out and Log in again to reflect the changes we made by creating the shortcut. Also, right-click the Desktop shortcut and select the “Allow Launching” option to make it executable on Ubuntu Desktop.