Now we provide official OpenResty packages repos for Fedora 34, Alpine 3.13.

Fedora 34

The steps to add OpenResty repository for Fedora 34 are the same as before. You can enable the openresty repository on your Fedora system like this:

sudo dnf install -y dnf-plugins-core
sudo dnf config-manager --add-repo https://openresty.org/package/fedora/openresty.repo

Next, run the following command to install openresty:

sudo dnf install -y openresty

If you want to know more info about other openresty tools, please check out Linux Packages: Fedora.

Alpine 3.13

First of all, please make sure you have enabled the Alpine’s official community repository. Basically, you can just open the file /etc/apk/repositories and uncomment a line looks like this:

http://mirror.leaseweb.com/alpine/v3.13/community

Your actual line could be slightly different when you are using a different mirror site or a differnt Alpine version.

You can enable the openresty repository on your Alpine system like below:

# first, let's add the public key used to sign the repo:
wget 'http://openresty.org/package/admin@openresty.com-5ea678a6.rsa.pub'
sudo mv 'admin@openresty.com-5ea678a6.rsa.pub' /etc/apk/keys/

# then, add the repo:
. /etc/os-release
MAJOR_VER=`echo $VERSION_ID | sed 's/\.[0-9]\+$//'`

echo "http://openresty.org/package/alpine/v$MAJOR_VER/main" \
    | sudo tee -a /etc/apk/repositories

# update the local index cache:
sudo apk update

Then we can install the openresty package like this:

sudo apk add openresty

If you want to know more about other openresty tools, please check out Linux Packages: Alpine.

More

Check out Linux Packages page for more information about the official OpenResty package repository.

Feedback is always welcome. Thanks a lot!