apisix icon indicating copy to clipboard operation
apisix copied to clipboard

help request: install APISIX 3.10.0 to Rocky Linux 8.10 via package manager

Open HashidaTKS opened this issue 1 year ago • 1 comments

Description

I tried to install APISIX 3.10.0 to Rocky Linux 8 via the package manager, but the latest APISIX version was 3.9.1. How could we install APISIX 3.10.0 to Rocky Linux 8 via the package manager?

The command line to install is as follows.

$ sudo dnf install -y https://repos.apiseven.com/packages/centos/apache-apisix-repo-1.0-1.noarch.rpm
$ sudo dnf update -y
$ sudo dnf install apisix-3.10.0
Last metadata expiration check: 0:00:25 ago on Tue Sep 17 08:04:45 2024.
No match for argument: apisix-3.10.0
Error: Unable to find a match: apisix-3.10.0
$ dnf list apisix
Last metadata expiration check: 0:01:48 ago on Tue Sep 17 08:04:45 2024.
Available Packages
apisix.x86_64                                                               3.9.1-0.el8                                                               release

Environment

  • APISIX version (run apisix version): 3.10.0
  • Operating system (run uname -a): Rocky Linux release 8.10 (Green Obsidian)
  • OpenResty / Nginx version (run openresty -V or nginx -V):
  • etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info):
  • APISIX Dashboard version, if relevant:
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version):

HashidaTKS avatar Sep 17 '24 08:09 HashidaTKS

Here is the workaround (maybe)

  1. Switch redhat repository from centos
# cat /etc/yum.repos.d/apache-apisix.repo 
[release]
name=Apache APISIX Repository for CentOS
#baseurl=https://repos.apiseven.com/packages/centos/$releasever/$basearch
baseurl=https://repos.apiseven.com/packages/redhat/$releasever/$basearch
skip_if_unavailable=False
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://repos.apiseven.com/KEYS
enabled=1
enabled_metadata=1
  1. enable devel repolist
dnf install -y 'dnf-command(config-manager)'
dnf config-manager --set-enabled devel
  1. install apisix via dnf install -y apisix.

kenhys avatar Sep 17 '24 08:09 kenhys

If there is still a problem, please open it again.

Baoyuantop avatar May 14 '25 07:05 Baoyuantop