Redpanda is a Kafka®-compatible streaming data platform: JVM-free, ZooKeeper-free, and distributed as a single binary. It is designed for high throughput and lower resource use and works with existing Kafka clients and tools. In this guide you install and configure Redpanda on Ubuntu 22.04 LTS (Jammy), enable production mode, start the service, and optionally install rpk (CLI) and Redpanda Console (UI).
In this guide you’ll:
- Add the Redpanda APT repository and install the
redpandapackage - Switch from development to production mode and run system tuning
- Start and enable the Redpanda service and confirm it listens on port 9092
- Optionally install the rpk CLI (standalone) and Redpanda Console (Docker or package)
Related: Redpanda on Debian 11 · Apache Kafka on Ubuntu 22.04 · Apache Kafka on Rocky/Alma Linux 9 · Apache Kafka in Docker
Prerequisites
- Ubuntu 22.04 LTS (Jammy) with sudo and internet access.
- curl (install with
sudo apt install curlif needed). - For Redpanda Console via Docker: Docker installed; for the native package, the same Redpanda APT repo is used.
Table of contents
- Install Redpanda
- Start and enable Redpanda
- Optional: Install rpk standalone
- Optional: Install Redpanda Console
1. Install Redpanda
Update the system and add the Redpanda APT repository. Check Redpanda docs for the current setup URL if needed:
| |
You should see “OK: Installing ‘redpanda/redpanda’ repository” and “You’re ready to rock!”. Then install:
| |
Redpanda defaults to development mode. For production, switch mode and run the system tuner:
| |
2. Start and enable Redpanda
Start the service and enable it on boot:
| |
Check status: sudo systemctl status redpanda. You should see active (running) and a line like redpanda is ready! - v22.3.x. The broker listens on port 9092 (Kafka API). You now have a single-node Redpanda cluster; use it with any Kafka client or tool.
3. Optional: Install rpk standalone
rpk (Redpanda Keeper) is the CLI for managing Redpanda. It is installed with the redpanda package on the server; this section is for installing rpk on another machine (e.g. your laptop). Download the binary for Linux amd64:
| |
Add ~/.local/bin to your PATH (use $HOME so it expands correctly):
| |
Verify: rpk version (e.g. v22.3.11 (rev 9eefb907c)).
4. Optional: Install Redpanda Console
Redpanda Console is a web UI for browsing topics, consumer groups, and cluster state. You can run it in Docker or install the Debian/Ubuntu package (same repo as Redpanda).
Run Console with Docker (local broker)
| |
Open http://localhost:8080 in your browser.
Run Console with Docker (remote broker with TLS/SASL)
| |
Install Console as a Debian/Ubuntu package
If you already added the Redpanda APT repo in step 1:
| |
The console listens on port 8080; open it in your browser.
Frequently Asked Questions (FAQ)
What is Redpanda?
Redpanda is a Kafka®-compatible streaming platform implemented in C++. It is JVM- and ZooKeeper-free, uses a single binary, and is designed for lower latency and resource use while supporting the Kafka API and many Kafka tools.
What port does Redpanda use?
The Kafka API is on TCP 9092 by default. Redpanda Console uses 8080. Configure ports in /etc/redpanda/redpanda.yaml if needed.
Can I use Kafka clients with Redpanda?
Yes. Redpanda is Kafka API–compatible. Use the same bootstrap servers (e.g. localhost:9092) and existing Kafka clients (librdkafka, kafka-python, etc.).
Where is the Redpanda config file?
Main config: /etc/redpanda/redpanda.yaml. Use rpk cluster config edit or edit the file and restart the service.
Conclusion
You installed Redpanda on Ubuntu 22.04 LTS: added the APT repo, installed the package, enabled production mode and tuning, and started the service. The broker listens on port 9092. You can optionally install rpk on other machines and run Redpanda Console via Docker or the Ubuntu package for a web UI. For the same steps on Debian 11, see Redpanda on Debian 11. For Apache Kafka, see Kafka on Ubuntu 22.04 or Kafka in Docker.