[Linux]Ubuntu/MacOS/Windows 命令行安装balenaEtcher的方法

Etcher

Flash OS images to SD cards & USB drives, safely and easily.

Etcher is a powerful OS image flasher built with web technologies to ensure
flashing an SDCard or USB drive is a pleasant and safe experience. It protects
you from accidentally writing to your hard-drives, ensures every byte of data
was written correctly, and much more. It can also directly flash Raspberry Pi devices that support USB device boot mode.


Download | Support | Documentation | Contributing | Roadmap

Supported Operating Systems

  • Linux (most distros)
  • macOS 10.10 (Yosemite) and later
  • Microsoft Windows 7 and later

Note: Etcher will run on any platform officially supported by
Electron. Read more in their documentation.

Installers

Refer to the downloads page for the latest pre-made
installers for all supported operating systems.

Note: Our deb and rpm packages are now hosted on Cloudsmith!

Debian and Ubuntu based Package Repository (GNU/Linux x86/x64)
  1. Add Etcher Debian repository:

    curl -1sLf \
       'https://dl.cloudsmith.io/public/balena/etcher/setup.deb.sh' \
       | sudo -E bash
    
  2. Update and install:

    sudo apt-get update
    sudo apt-get install balena-etcher-electron
    
Uninstall
sudo apt-get remove balena-etcher-electron
rm /etc/apt/sources.list.d/balena-etcher.list
apt-get clean
rm -rf /var/lib/apt/lists/*
apt-get update
OpenSUSE LEAP & Tumbleweed install
curl -1sLf \
  'https://dl.cloudsmith.io/public/balena/etcher/setup.rpm.sh' \
  | sudo -E bash
Uninstall
zypper rr balena-etcher
zypper rr balena-etcher-source
Redhat (RHEL) and Fedora-based Package Repository (GNU/Linux x86/x64)
DNF
  1. Add Etcher rpm repository:

    curl -1sLf \
       'https://dl.cloudsmith.io/public/balena/etcher/setup.rpm.sh' \
       | sudo -E bash
    
  2. Update and install:

    sudo dnf install -y balena-etcher-electron
    rm /etc/yum.repos.d/balena-etcher.repo
    rm /etc/yum.repos.d/balena-etcher-source.repo
    
Uninstall
rm /etc/yum.repos.d/balena-etcher.repo
rm /etc/yum.repos.d/balena-etcher-source.repo
Yum
  1. Add Etcher rpm repository:

    curl -1sLf \
       'https://dl.cloudsmith.io/public/balena/etcher/setup.rpm.sh' \
       | sudo -E bash
    
  2. Update and install:

    sudo yum install -y balena-etcher-electron
    
Uninstall
sudo yum remove -y balena-etcher-electron
rm /etc/yum.repos.d/balena-etcher.repo
rm /etc/yum.repos.d/balena-etcher-source.repo
Solus (GNU/Linux x64)
sudo eopkg it etcher
Uninstall
sudo eopkg rm etcher
Arch/Manjaro Linux (GNU/Linux x64)

Etcher is offered through the Arch User Repository and can be installed on both Manjaro and Arch systems. You can compile it from the source code in this repository using balena-etcher. The following example uses a common AUR helper to install the latest release:

yay -S balena-etcher
Uninstall
yay -R balena-etcher
Brew (macOS)

Note: Etcher has to be updated manually to point to new versions,
so it might not refer to the latest version immediately after an Etcher
release.

brew install balenaetcher
Uninstall
brew uninstall balenaetcher
Chocolatey (Windows)

This package is maintained by @majkinetor, and
is kept up to date automatically.

choco install etcher
Uninstall
choco uninstall etcher

Support

If you’re having any problem, please raise an issue on GitHub, and
the balena.io team will be happy to help.

License

Etcher is free software and may be redistributed under the terms specified in
the license.

  • 1
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

山猫Show

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值