[ZBXNEXT-7980] Enterprise Linux arm64 packages Created: 2022 Sep 19  Updated: 2024 Apr 10  Resolved: 2023 Sep 12

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: None
Affects Version/s: None
Fix Version/s: 6.4 (plan)

Type: Change Request Priority: Trivial
Reporter: Maximilian Grüttemeier Assignee: Jurijs Klopovskis
Resolution: Fixed Votes: 2
Labels: arm64, enterprise-linux, packages, packaging, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBXNEXT-8151 Build ARM packages for all destributions Closed
Team: Team I
Sprint: Sprint 95 (Dec 2022), Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023), Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023), Sprint 104 (Sep 2023)
Story Points: 1

 Description   

As Oracle now offers a free tier with arm64 systems, and more and more hosting providers offer arm64 only platforms to their customers, it would only make sense to build aarch64 packages for Enterprise Linux distributions ( AlmaLinux, RockyLinux, RHEL and Oracle Linux ).

Currently community provided zabbix packages in CodeReady and EPEL lack certain packages and are behind the current zabbix release. For example zabbix-agent2 is not avaiable as CR or EPEL package. The current release version in the mentioned repositories are still at 6.0.

Seeing the raise of demand for arm64 systems due to their energy efficency, it is a big market hole for Zabbix to not start supporting arm64 platforms natively.



 Comments   
Comment by Off by One [ 2023 Apr 13 ]

Using the following steps, I was able to build these packages:

  • zabbix-agent-6.4.1-release1.el8.aarch64.rpm
  • zabbix-get-6.4.1-release1.el8.aarch64.rpm
  • zabbix-sender-6.4.1-release1.el8.aarch64.rpm
  • zabbix-js-6.4.1-release1.el8.aarch64.rpm
  • zabbix-sql-scripts-6.4.1-release1.el8.noarch.rpm
  • zabbix-proxy-mysql-6.4.1-release1.el8.aarch64.rpm
  • zabbix-proxy-pgsql-6.4.1-release1.el8.aarch64.rpm
  • zabbix-proxy-sqlite3-6.4.1-release1.el8.aarch64.rpm
  • zabbix-server-mysql-6.4.1-release1.el8.aarch64.rpm
  • zabbix-server-pgsql-6.4.1-release1.el8.aarch64.rpm
  • zabbix-web-6.4.1-release1.el8.noarch.rpm
  • zabbix-web-deps-6.4.1-release1.el8.noarch.rpm
  • zabbix-web-mysql-6.4.1-release1.el8.noarch.rpm
  • zabbix-web-pgsql-6.4.1-release1.el8.noarch.rpm
  • zabbix-apache-conf-6.4.1-release1.el8.noarch.rpm
  • zabbix-nginx-conf-6.4.1-release1.el8.noarch.rpm
  • zabbix-web-japanese-6.4.1-release1.el8.noarch.rpm
  • zabbix-java-gateway-6.4.1-release1.el8.aarch64.rpm
  • zabbix-selinux-policy-6.4.1-release1.el8.aarch64.rpm

Missing from this list is zabbix-agent2, because go-lang is not a dependency in the spec file.

 

These instructions work with docker and podman:

mkdir /tmp/buildroot

docker create -i -t --platform linux/arm64 -v /tmp/buildroot/:/root --name ol8.7 oraclelinux:8.7 /bin/bash
docker start ol8.7

docker exec -it ol8.7 sh -c "dnf config-manager --set-enabled ol8_codeready_builder"
docker exec -it ol8.7 sh -c "dnf -y install dnf-plugins-core"
docker exec -it ol8.7 sh -c "dnf -y install rpm-build"
docker exec -it ol8.7 sh -c "rpm -ihv https://repo.zabbix.com/zabbix/6.4/rhel/8/SRPMS/zabbix-6.4.1-release1.el8.src.rpm"
docker exec -it ol8.7 sh -c "dnf -y builddep /root/rpmbuild/SPECS/zabbix.spec"
docker exec -it ol8.7 sh -c "rpmbuild -ba /root/rpmbuild/SPECS/zabbix.spec" 

The RPMs produced by this build can be found in /tmp/buildroot/rpmbuild/RPMS/.

Generated at Wed May 21 07:47:20 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.