How to install sw-nginx-module-nchan on Ubuntu

Scalable, flexible pub/sub server for the modern web

Vendor: GetPageSpeed https://github.com/slact/nchan

Availability

Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.

Distro Channel amd64 Version
Ubuntu 26.04 (resolute) Base 1.30.6.1+1.3.8+p18.0.82.1.t261027.1716
Ubuntu 24.04 (noble) Base 1.30.6.1+1.3.8+p18.0.82.1.t261027.1716
Ubuntu 22.04 (jammy) Base 1.30.6.1+1.3.8+p18.0.82.1.t261027.1716
Ubuntu 20.04 (focal) Base 1.30.6.1+1.3.8+p18.0.82.1.t261027.1716

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

Base Ubuntu 20.04, 22.04, 24.04, 26.04

sw-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 sw-nginx-module-nchan

Package downloads require an active GetPageSpeed subscription — one repository for sw-nginx-module-nchan and thousands more packages for Ubuntu.

Subscribe — from $10/mo

Other releases and channels: use the setup wizard.

Frequently asked questions

How do I install sw-nginx-module-nchan on Ubuntu?

Add the GetPageSpeed repository, then install the sw-nginx-module-nchan package with your system package manager.

Which Ubuntu versions is sw-nginx-module-nchan available for?

sw-nginx-module-nchan is available for Ubuntu 20.04, 22.04, 24.04, 26.04.

Subscribe