[Feature Request] Provide official Debian (.deb) and RPM packages for standard installation
#68205 opened on Jan 21, 2026
Description
Feature request
Is your feature request related to a problem? Please describe. Currently, StarRocks is distributed primarily via binary tarballs or Docker images. While this works for testing, it creates friction for bare-metal production deployments and standard Linux administration:
- Non-Standard Paths: When using the tarball, logs and configurations reside inside the installation directory (e.g.,
StarRocks-x.x/fe/log) instead of standard Linux Standard Base (LSB) paths like/var/log/starrocksand/etc/starrocks. - Service Management: There is no native
systemdintegration out of the box. Administrators have to manually write unit files to manage thefeandbeservices or use start/stop scripts manually. - Upgrade Complexity: Upgrading requires downloading a new tarball and manually migrating config files, whereas standard packages allow seamless updates via
apt-get upgradeoryum update.
Describe the solution you'd like I would like StarRocks to provide official package repositories for major Linux distributions (Debian/Ubuntu and RHEL/CentOS).
Similar to how Apache Cassandra handles installation, we should be able to:
- Add a StarRocks repository key and URL.
- Run commands like
sudo apt-get install starrocks-fe starrocks-be. - Have the package automatically:
- Place configs in
/etc/starrocks/. - Place logs in
/var/log/starrocks/. - Place data in
/var/lib/starrocks/. - Register and enable
systemdservices (e.g.,systemctl start starrocks-fe).
- Place configs in
Describe alternatives you've considered
- Docker: While Docker is available, it adds an abstraction layer that isn't always desirable for high-performance bare-metal setups where we want direct OS control.
- Ansible/Chef/Puppet: We currently have to write complex playbooks to download tarballs, move files to
/etc/and/var/, and create custom systemd files to simulate a package installation. This is high maintenance.
Additional context Most enterprise-grade data systems (Cassandra, MySQL, PostgreSQL, ClickHouse) provide native package management support. Adding this would significantly lower the barrier to entry for SysAdmins and DevOps engineers accustomed to standard Linux workflows.
Reference examples:
- Cassandra Debian Repo: https://cassandra.apache.org/_/download.html