How to install nginx-module-nchan on Ubuntu
Scalable, flexible pub/sub server for the modern web
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | amd64 | arm64 | Version |
|---|---|---|---|---|
| Ubuntu 26.04 (resolute) | Stable | 1.30.6+1.3.8 | ||
| NGINX mainline | 1.31.8+1.3.8 | |||
| Ubuntu 24.04 (noble) | Stable | 1.30.6+1.3.8 | ||
| NGINX mainline | 1.31.8+1.3.8 | |||
| Ubuntu 22.04 (jammy) | Stable | 1.30.6+1.3.8 | ||
| NGINX mainline | 1.31.8+1.3.8 | |||
| Ubuntu 20.04 (focal) | Stable | 1.30.6+1.3.8 | ||
| NGINX mainline | 1.31.8+1.3.8 |
Description
Nchan is a scalable, flexible pub/sub server for the modern web, built as a module for the NGINX web server. It can be configured as a standalone server, or as a shim between your application and hundreds, thousands, or millions of live subscribers. It can buffer messages in memory, on-disk, or via Redis. Messages are published to channels with HTTP POST requests or Websocket, and subscribed also through Websocket, long-polling, EventSource (SSE), old-fashioned interval polling, and more. In a web browser, you can use Websocket or EventSource natively, or the NchanSubscriber.js wrapper library. It supports Long-Polling, EventSource, and resumable Websockets, and has a few other added convenience options. It's also available on NPM.
Built for Ubuntu.
Install
nginx-module-nchan on Ubuntu 20.04 (focal), 22.04 (jammy), 24.04 (noble), 26.04 (resolute)
curl -fsSL https://extras.getpagespeed.com/release-latest.deb -o /tmp/getpagespeed-release.deb sudo apt-get install -y /tmp/getpagespeed-release.deb rm /tmp/getpagespeed-release.deb sudo apt-get update sudo apt-get install -y nginx-module-nchan
nginx-module-nchan on Ubuntu 20.04 (focal), 22.04 (jammy), 24.04 (noble), 26.04 (resolute)
curl -fsSL https://extras.getpagespeed.com/release-latest.deb -o /tmp/getpagespeed-release.deb sudo apt-get install -y /tmp/getpagespeed-release.deb rm /tmp/getpagespeed-release.deb sudo getpagespeed-extras-channel mainline sudo apt-get update sudo apt-get install -y nginx-module-nchan
Package downloads require an active GetPageSpeed subscription — one repository for nginx-module-nchan and thousands more packages for Ubuntu.
Subscribe — from $10/moOther releases and channels: use the setup wizard.
Frequently asked questions
How do I install nginx-module-nchan on Ubuntu?
Add the GetPageSpeed repository, then install the nginx-module-nchan package with your system package manager.
Which Ubuntu versions is nginx-module-nchan available for?
nginx-module-nchan is available for Ubuntu 20.04, 22.04, 24.04, 26.04.