<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/bring-zenoh-to-ros-2-with-snaps-wvgii8srl" -->

---
title: Bring Zenoh to ROS 2 with snaps | daily.dev
description: Three deployment approaches let robotics developers integrate Zenoh with ROS 2 using Ubuntu snaps: packaging the rmw_zenoh_cpp middleware directly into an...
canonical: https://daily.dev/posts/bring-zenoh-to-ros-2-with-snaps-wvgii8srl
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Bring Zenoh to ROS 2 with snaps | daily.dev
og:description: Three deployment approaches let robotics developers integrate Zenoh with ROS 2 using Ubuntu snaps: packaging the rmw_zenoh_cpp middleware directly into an...
og:url: https://daily.dev/posts/bring-zenoh-to-ros-2-with-snaps-wvgii8srl
og:image: https://api.daily.dev/og/posts/wVGII8srl.png
og:image:alt: Bring Zenoh to ROS 2 with snaps
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Bring Zenoh to ROS 2 with snaps

**[Ubuntu](https://daily.dev/sources/ubuntu)** · 6 min read · 0 upvotes · 0 comments

## Summary

Three deployment approaches let robotics developers integrate Zenoh with ROS 2 using Ubuntu snaps: packaging the rmw_zenoh_cpp middleware directly into an application snap, running the zenohd router as a standalone snap service, or using the zenoh-bridge-ros2dds snap to connect existing DDS-based ROS 2 applications without code changes. Each approach uses strict confinement, supports amd64 and arm64, and can be combined depending on architecture needs. Practical snapcraft.yaml examples and configuration file locations are provided for each method.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://ubuntu.com/blog/bring-zenoh-to-ros-2-with-snaps>

## Questions this post answers

### How do I use Zenoh as the middleware for a ROS 2 application packaged as a snap?

Add the rmw_zenoh_cpp dependency to the stage-packages in the ROS 2 snapcraft.yaml and set the RMW_IMPLEMENTATION environment variable so the application selects Zenoh at runtime. The talker_listener_zenoh_core24 example demonstrates this with ROS 2 Jazzy, packaging demo_nodes_cpp talker and listener nodes and using the ros2-jazzy snapcraft extension to set up the ROS 2 environment inside the snap.

_Robotics developers wiring Zenoh into ROS 2 builds can find similar snap packaging walkthroughs on daily.dev._

### How do I connect an existing ROS 2 application using DDS to a Zenoh network without changing its code?

Install the zenoh-bridge-ros2dds snap, which packages the upstream Rust-based Zenoh bridge for ROS 2 over DDS, then enable it with 'sudo snap start --enable zenoh-bridge-ros2dds.bridge'. The bridge discovers ROS 2 communication on its DDS side and maps it to Zenoh, so existing nodes keep their current middleware configuration and do not need to know the bridge exists.

_Teams bridging DDS and Zenoh in robotics stacks can track integration approaches like this via daily.dev._

### Where is the zenohd router's default configuration file located when installed as a snap?

The zenohd snap looks for a JSON5 or YAML configuration file, with the default daemon configuration path at /var/snap/zenohd/common/config.json5. After editing this file, the service must be restarted with 'sudo snap restart zenohd.daemon' for changes to take effect. The upstream Zenoh reference configuration documents all available options.

_daily.dev helps developers configuring Zenoh routers keep up with practical deployment details like this._

## Similar posts on daily.dev

- [Extending ROS Noetic Support with ESM-Enabled Content Snaps](https://daily.dev/posts/extending-ros-noetic-support-with-esm-enabled-content-snaps-oyqttjjqi) · Ubuntu · 0 upvotes · 0 comments
- [ROS 2 Jazzy, Proton, and MoveIt 2 - Clearpath Robotics](https://daily.dev/posts/ros-2-jazzy-proton-and-moveit-2---clearpath-robotics-bkyytadym) · Clearpath Robotics · 0 upvotes · 0 comments
- [Sneak Peek: Qt Robotics Framework \(Proof-of-Concept\)](https://daily.dev/posts/sneak-peek-qt-robotics-framework-proof-of-concept--dhzkqt0nz) · Qt · 0 upvotes · 0 comments
- [ros2\_canopen: Natively Integrating CANopen Devices into the ROS 2 Ecosystem — ROS-Industrial](https://daily.dev/posts/ros2-canopen-natively-integrating-canopen-devices-into-the-ros-2-ecosystem-ros-industrial-cnlvyy2j8) · ROS industrial · 0 upvotes · 0 comments
- [ROS 2 Support: Platforms, Sensors, and Getting Started](https://daily.dev/posts/ros-2-support-platforms-sensors-and-getting-started-hvqtmpu2c) · Clearpath Robotics · 0 upvotes · 0 comments

---

Tags: [#robotics](https://daily.dev/tags/robotics)

[View this post on daily.dev](https://daily.dev/posts/bring-zenoh-to-ros-2-with-snaps-wvgii8srl)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Bring Zenoh to ROS 2 with snaps","url":"https://daily.dev/posts/bring-zenoh-to-ros-2-with-snaps-wvgii8srl","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/bring-zenoh-to-ros-2-with-snaps-wvgii8srl"},"datePublished":"2026-09-16T13:33:19.268Z","dateModified":"2026-09-16T13:38:00.824Z","description":"Three deployment approaches let robotics developers integrate Zenoh with ROS 2 using Ubuntu snaps: packaging the rmw_zenoh_cpp middleware directly into an...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/01cb74909394c7c596f7b36df17747c6?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/01cb74909394c7c596f7b36df17747c6?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Ubuntu","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Ubuntu","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/e9ae7e11e4574c27a37fcd23062e723e","url":"https://daily.dev/sources/ubuntu"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/bring-zenoh-to-ros-2-with-snaps-wvgii8srl","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"robotics","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Ubuntu","item":"https://daily.dev/sources/ubuntu"},{"@type":"ListItem","position":3,"name":"Bring Zenoh to ROS 2 with snaps"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/bring-zenoh-to-ros-2-with-snaps-wvgii8srl#faq","mainEntity":[{"@type":"Question","name":"How do I use Zenoh as the middleware for a ROS 2 application packaged as a snap?","acceptedAnswer":{"@type":"Answer","text":"Add the rmw_zenoh_cpp dependency to the stage-packages in the ROS 2 snapcraft.yaml and set the RMW_IMPLEMENTATION environment variable so the application selects Zenoh at runtime. The talker_listener_zenoh_core24 example demonstrates this with ROS 2 Jazzy, packaging demo_nodes_cpp talker and listener nodes and using the ros2-jazzy snapcraft extension to set up the ROS 2 environment inside the snap. Robotics developers wiring Zenoh into ROS 2 builds can find similar snap packaging walkthroughs on daily.dev."}},{"@type":"Question","name":"How do I connect an existing ROS 2 application using DDS to a Zenoh network without changing its code?","acceptedAnswer":{"@type":"Answer","text":"Install the zenoh-bridge-ros2dds snap, which packages the upstream Rust-based Zenoh bridge for ROS 2 over DDS, then enable it with 'sudo snap start --enable zenoh-bridge-ros2dds.bridge'. The bridge discovers ROS 2 communication on its DDS side and maps it to Zenoh, so existing nodes keep their current middleware configuration and do not need to know the bridge exists. Teams bridging DDS and Zenoh in robotics stacks can track integration approaches like this via daily.dev."}},{"@type":"Question","name":"Where is the zenohd router's default configuration file located when installed as a snap?","acceptedAnswer":{"@type":"Answer","text":"The zenohd snap looks for a JSON5 or YAML configuration file, with the default daemon configuration path at /var/snap/zenohd/common/config.json5. After editing this file, the service must be restarted with 'sudo snap restart zenohd.daemon' for changes to take effect. The upstream Zenoh reference configuration documents all available options. daily.dev helps developers configuring Zenoh routers keep up with practical deployment details like this."}}]}
```

