Install: Simplify platform support

This commit is contained in:
Fangliding
2026-05-10 15:26:56 +08:00
parent cc8e85553b
commit d27243af86
3 changed files with 33 additions and 27 deletions
+11 -9
View File
@@ -4,17 +4,19 @@
官方 Release 支持以下平台
| 平台 | 最低版本 | 架构 |
| :------ | :-------------------------------------------------------------- | :------------------------------------------------------------------ |
| Windows | 7 及之后版本 <sup><a href="#platform-note-1">[1]</a></sup> | x86 / amd64 / arm32 / arm64 |
| macOS | 10.10 Yosemite 及之后版本 | amd64 / arm64 |
| Linux | 2.6.23 及之后版本 <sup><a href="#platform-note-2">[2]</a></sup> | x86 / amd64 / arm / arm64 / mips64 / mips / ppc64 / s390x / riscv64 |
| FreeBSD | - | x86 / amd64 |
| OpenBSD | - | x86 / amd64 |
| 平台 | 架构 |
| :---------------------------------------------------- | :------------------------------------------------------------------ |
| Windows <sup><a href="#platform-note-1">[1]</a></sup> | x86 / amd64 / arm32 / arm64 |
| macOS | amd64 / arm64 |
| Linux | x86 / amd64 / arm / arm64 / mips64 / mips / ppc64 / s390x / riscv64 |
| FreeBSD | x86 / amd64 |
| OpenBSD | x86 / amd64 |
<small id="platform-note-1">[1] Windows 7 中使用 1.8.4、1.8.6 的常规版本以及 1.8.18 以后的 `win7` 版本,需要系统安装 **KB4474419**;推荐同时安装 KB4490628 以便联网后接受后续操作系统安全更新。从 v25 开始,在 Windows 7 上运行 `win7` 版本只需安装 SP1 即可正常运行,但对联网系统仍强烈建议安装后续操作系统安全更新。</small>
<small id="platform-note-1">[1] Windows 7 已被 golang 官方停止支持,Xray 使用 patched go 独立发布构建提供支持,win7 用户请使用 -win7 后缀的发布。</small>
<small id="platform-note-2">[2] 包括但不限于 Debian 7 / 8、Ubuntu 12.04 / 14.04 及后续版本、CentOS 7 / 8、Arch Linux 等。</small>
Xray 积极跟进 golang 版本,除 win7 外最低操作系统版本支持请参考发布时对应的最新的 go release note。
未像部分类似项目一样提供 amd64 v2 v3 等构建,因为经过测试性能并没有明显提升,关键函数中很多使用了运行时检测来自动使用扩展指令集。
## 下载 Xray
+11 -9
View File
@@ -4,17 +4,19 @@
Official Releases support the following platforms
| Platform | Minimum Version | Architectures |
| :------- | :------------------------------------------------------------- | :------------------------------------------------------------------ |
| Windows | 7 and later <sup><a href="#platform-note-1">[1]</a></sup> | x86 / amd64 / arm32 / arm64 |
| macOS | 10.10 Yosemite and later | amd64 / arm64 |
| Linux | 2.6.23 and later <sup><a href="#platform-note-2">[2]</a></sup> | x86 / amd64 / arm / arm64 / mips64 / mips / ppc64 / s390x / riscv64 |
| FreeBSD | - | x86 / amd64 |
| OpenBSD | - | x86 / amd64 |
| Platform | Architectures |
| :---------------------------------------------------- | :------------------------------------------------------------------ |
| Windows <sup><a href="#platform-note-1">[1]</a></sup> | x86 / amd64 / arm32 / arm64 |
| macOS | amd64 / arm64 |
| Linux | x86 / amd64 / arm / arm64 / mips64 / mips / ppc64 / s390x / riscv64 |
| FreeBSD | x86 / amd64 |
| OpenBSD | x86 / amd64 |
<small id="platform-note-1">[1] On Windows 7, regular versions 1.8.4 and 1.8.6, as well as `win7` builds after 1.8.18, require **KB4474419** to be installed. Installing KB4490628 is also recommended so the system can continue receiving later security updates after connecting to the internet. Starting from v25, the `win7` build on Windows 7 only requires SP1 to run normally, but installing later OS security updates is still strongly recommended for networked systems.</small>
<small id="platform-note-1">[1] Windows 7 is no longer officially supported by golang. Xray uses a patched go to provide separately published builds for it; Windows 7 users should use the releases with the `-win7` suffix.</small>
<small id="platform-note-2">[2] Including but not limited to Debian 7 / 8, Ubuntu 12.04 / 14.04 and later, CentOS 7 / 8, Arch Linux, and more.</small>
Xray actively keeps up with golang versions. For minimum OS version support other than win7, please refer to the latest go release notes corresponding to the time of release.
Builds for amd64 v2/v3 etc. are not provided as some similar projects do, because testing showed no significant performance improvement, and many critical functions already use runtime detection to automatically use extended instruction sets.
## Download Xray
+11 -9
View File
@@ -4,17 +4,19 @@
Официальные Release поддерживают следующие платформы
| Платформа | Минимальная версия | Архитектуры |
| :-------- | :----------------------------------------------------------- | :------------------------------------------------------------------ |
| Windows | 7 и новее <sup><a href="#platform-note-1">[1]</a></sup> | x86 / amd64 / arm32 / arm64 |
| macOS | 10.10 Yosemite и новее | amd64 / arm64 |
| Linux | 2.6.23 и новее <sup><a href="#platform-note-2">[2]</a></sup> | x86 / amd64 / arm / arm64 / mips64 / mips / ppc64 / s390x / riscv64 |
| FreeBSD | - | x86 / amd64 |
| OpenBSD | - | x86 / amd64 |
| Платформа | Архитектуры |
| :---------------------------------------------------- | :------------------------------------------------------------------ |
| Windows <sup><a href="#platform-note-1">[1]</a></sup> | x86 / amd64 / arm32 / arm64 |
| macOS | amd64 / arm64 |
| Linux | x86 / amd64 / arm / arm64 / mips64 / mips / ppc64 / s390x / riscv64 |
| FreeBSD | x86 / amd64 |
| OpenBSD | x86 / amd64 |
<small id="platform-note-1">[1] В Windows 7 для обычных версий 1.8.4 и 1.8.6, а также для сборок `win7` после 1.8.18, требуется установленное обновление **KB4474419**. Также рекомендуется установить KB4490628, чтобы система могла получать последующие обновления безопасности после подключения к интернету. Начиная с v25, для нормальной работы сборки `win7` на Windows 7 требуется только SP1, однако для систем с доступом к сети по-прежнему настоятельно рекомендуется устанавливать последующие обновления безопасности ОС.</small>
<small id="platform-note-1">[1] Поддержка Windows 7 в golang официально прекращена. Xray использует patched go и публикует отдельные сборки для этой системы; пользователям Windows 7 следует использовать релизы с суффиксом `-win7`.</small>
<small id="platform-note-2">[2] Включая, но не ограничиваясь Debian 7 / 8, Ubuntu 12.04 / 14.04 и новее, CentOS 7 / 8, Arch Linux и другими.</small>
Xray активно отслеживает версии golang. Для информации о минимальной поддерживаемой версии ОС, кроме win7, обращайтесь к актуальным release notes go, соответствующим моменту выпуска.
Сборки для amd64 v2/v3 и т. п. не предоставляются, как в некоторых похожих проектах, поскольку тестирование не показало значимого прироста производительности, а во многих ключевых функциях уже используется определение возможностей CPU во время выполнения для автоматического задействования расширенных наборов инструкций.
## Загрузка Xray