Skip to main content

停止对 32 位的支持 Linux

· 6 min read

Electron 团队将从 Electron v4.0 开始停止对 32 位 Linux (ia32 / i386) 的支持。支持 32 位 Linux 安装的 Electron 最新版本是 Electron v3.1,它将持续支持到 Electron v6 发布。对基于 64 位 Linux 和 armv7l 的支持将保持不变。

¥The Electron team will discontinue support for 32-bit Linux (ia32 / i386) starting with Electron v4.0. The last version of Electron that supports 32-bit based installations of Linux is Electron v3.1, which will receive support releases until Electron v6 is released. Support for 64-bit based Linux and armv7l will continue unchanged.


Electron 不再支持哪些功能?

¥What exactly is Electron no longer supporting?

你可能已经在电脑上看到过 "64-bit" 和 "32-bit" 的描述,它们被贴在电脑上,或者作为下载软件的选项。该术语用于描述特定的计算机体系结构。20 世纪 90 年代和 21 世纪初生产的大多数计算机都采用基于 32 位架构的 CPU,而之后生产的大多数计算机则基于更新、更强大的 64 位架构。任天堂 64(明白了吗?)和 PlayStation 2 是第一批广泛使用的采用新架构的消费设备,2010 年后销售的计算机几乎全部采用 64 位处理器。因此,支持范围一直在缩减:Google 于 2016 年 3 月停止发布适用于 32 位 Linux 的 Chrome,Canonical 于 2017 年停止提供 32 位桌面映像,并从 Ubuntu 18.10 开始彻底放弃对 32 位的支持。Arch Linux、elementary OS 和其他知名 Linux 发行版已经放弃了对老旧处理器架构的支持。

¥You may have seen the description "64-bit" and "32-bit" as stickers on your computer or as options for downloading software. The term is used to describe a specific computer architecture. Most computers made in the 1990s and early 2000s were made with CPUs that were based on the 32-bit architecture, while most computers made later were based on the newer and more powerful 64-bit architecture. The Nintendo 64 (get it?) and the PlayStation 2 were the first widely available consumer devices with the new architecture, computers sold after 2010 contained almost exclusively 64-bit processors. As a result, support has been shrinking: Google stopped releasing Chrome for 32-bit Linux in March 2016, Canonical stopped providing 32-bit desktop images in 2017 and dropped support for 32-bit altogether with Ubuntu 18.10. Arch Linux, elementary OS, and other prominent Linux distributions have already dropped support for the aging processor architecture.

到目前为止,Electron 提供并支持在较旧的 32 位架构上运行的版本。从 v4.0 版本开始,Electron 团队将不再提供二进制文件或 32 位 Linux 支持。

¥Until now, Electron has provided and supported builds that run on the older 32-bit architecture. From release v4.0 onwards, the Electron team will no longer be able to provide binaries or support for 32-bit Linux.

Electron 一直是一个充满活力的开源项目,我们将继续支持和鼓励有兴趣为各种架构构建 Electron 的开发者。

¥Electron has always been a vibrant open source project and we continue to support and encourage developers interested in building Electron for exotic architectures.

这对开发者意味着什么?

¥What does that mean for developers?

如果你目前没有为 Linux 提供应用的 32 位发行版,则无需采取任何措施。

¥If you are not currently providing 32-bit distributions of your app for Linux, no action is required.

发布 32 位 Linux Electron 应用的项目需要自行决定如何进行。Electron 3 until 将支持 32 位 Linux,Electron 6 的发布将提供一些时间来制定决策和计划。

¥Projects which ship 32-bit Linux Electron applications will need to decide how to proceed. 32-bit Linux will be supported on Electron 3 until the release of Electron 6, which gives some time to make decisions and plans.

这对用户意味着什么?

¥What does that mean for users?

如果你是 Linux 用户,并且不确定自己运行的是否是 64 位系统,那么你很可能运行的是 64 位架构的系统。为确保万无一失,你可以在终端中运行 lscpuuname -m 命令。两者都会打印你当前的架构。

¥If you are a Linux user and not sure whether or not you're running a 64-bit based system, you are likely running on a 64-bit based architecture. To make sure, you can run the lscpu or uname -m commands in your terminal. Either one will print your current architecture.

如果你使用的是 32 位处理器的 Linux,你可能已经遇到过难以找到适合你操作系统的最新发布软件的情况。Electron 团队与 Linux 社区的其他杰出成员一样,建议你升级到 64 位架构。

¥If you are using Linux on a 32-bit processor, you have likely already encountered difficulties finding recently released software for your operating system. The Electron team joins other prominent members in the Linux community by recommending that you upgrade to a 64-bit based architecture.