[comment]: # ({a5e1894b-b2259b50})
# 6 不稳定版本

[comment]: # ({/a5e1894b-b2259b50})

[comment]: # ({fbeda870-9e4d6713})
### 概述

下面的指南是用于启用不稳定的 Zabbix 发布仓库（默认情况下是禁用的），这些仓库用于 Zabbix 版本候选发布。

首先，安装或更新到最新的 zabbix-release 包。要在您的系统上启用候选版本包，请执行以下操作：

[comment]: # ({/fbeda870-9e4d6713})

[comment]: # ({21440a36-05fb2800})
### Red Hat Enterprise Linux

打开 `/etc/yum.repos.d/zabbix.repo` 文件，并将 `zabbix-unstable` 仓库的 `enabled` 设置为 `1`。

```ini
[zabbix-unstable]
name=Zabbix 官方仓库（unstable）- $basearch
baseurl=https://repo.zabbix.com/zabbix/7.4/unstable/rhel/8/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591
```

[comment]: # ({/21440a36-05fb2800})

[comment]: # ({779a5714-f13e36b3})
### Debian/Ubuntu

打开 `/etc/apt/sources.list.d/zabbix.list`，并取消注释 “Zabbix unstable repository”。

```ini
# Zabbix unstable repository
deb https://repo.zabbix.com/zabbix/7.4/unstable/debian bullseye main
deb-src https://repo.zabbix.com/zabbix/7.4/unstable/debian bullseye main
```

[comment]: # ({/779a5714-f13e36b3})

[comment]: # ({5ba032ae-37a29df2})
### SUSE

打开 `/etc/zypp/repos.d/zabbix.repo` 文件，并将 `zabbix-unstable` 仓库的 `enable` 设置为 `1`。

```ini
[zabbix-unstable]
name=Zabbix Official Repository
type=rpm-md
baseurl=https://repo.zabbix.com/zabbix/7.4/unstable/sles/15/x86_64/
gpgcheck=1
gpgkey=https://repo.zabbix.com/zabbix/7.4/unstable/sles/15/x86_64/repodata/repomd.xml.key
enabled=1
update=1
```

[comment]: # ({/5ba032ae-37a29df2})
