# Install Snap Packages on OpenWrt

**URL:** <https://forum.openwrt.org/t/install-snap-packages-on-openwrt/32302>\
**Category:** Installing and Using OpenWrt\
**Created:** [February 28, 2019, 5:45am UTC](https://forum.openwrt.org/t/install-snap-packages-on-openwrt/32302 "2019-02-28T05:45:59Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![vahid-dan](https://forum.openwrt.org/user_avatar/forum.openwrt.org/vahid-dan/32/3285_2.png) [@vahid-dan](https://forum.openwrt.org/u/vahid-dan)\
**Post date:** [February 28, 2019, 5:45am UTC](https://forum.openwrt.org/t/install-snap-packages-on-openwrt/32302/1 "2019-02-28T05:45:59Z")

</div>

Hi;

I've created an armhf Snap package for RPi3 which works fine on Raspbian, Ubuntu Core and Ubuntu Server on Raspberry Pi 3. Technically, the same package should work on OpenWRT, as well. But `snapd` is not installed by default. How can I install `snapd` and then install my Snap package?

Thanks,  
Vahid

---

<div class="post-metadata">

**Author:** ![jeff](https://forum.openwrt.org/letter_avatar/jeff/32/5_5575768a8748004e209b776fc1b2916d.png) [@jeff](https://forum.openwrt.org/u/jeff)\
**Post date:** [February 28, 2019, 5:53am UTC](https://forum.openwrt.org/t/install-snap-packages-on-openwrt/32302/2 "2019-02-28T05:53:32Z")

</div>

From [https://packages.debian.org/stretch/snapd](https://packages.debian.org/stretch/snapd) both apparmor and systemd as dependencies suggest quite a challenge.

Wrapping the app in an OpenWrt package may be a simpler path.

---

<div class="post-metadata">

**Author:** ![vahid-dan](https://forum.openwrt.org/user_avatar/forum.openwrt.org/vahid-dan/32/3285_2.png) [@vahid-dan](https://forum.openwrt.org/u/vahid-dan)\
**Post date:** [February 28, 2019, 6:07am UTC](https://forum.openwrt.org/t/install-snap-packages-on-openwrt/32302/3 "2019-02-28T06:07:36Z")

</div>

Hi Jeff and thanks for your prompt response. What is your opinion about this solution?

> **[teknoraver/snap-openwrt](https://github.com/teknoraver/snap-openwrt)**
>
> snappy for OpenWrt. Contribute to teknoraver/snap-openwrt development by creating an account on GitHub.

I haven't tried it, yet.

Bests,  
Vahid

---

<div class="post-metadata">

**Author:** ![vgaetera](https://forum.openwrt.org/user_avatar/forum.openwrt.org/vgaetera/32/113586_2.png) [@vgaetera](https://forum.openwrt.org/u/vgaetera)\
**Post date:** [February 28, 2019, 6:39am UTC](https://forum.openwrt.org/t/install-snap-packages-on-openwrt/32302/4 "2019-02-28T06:39:18Z")

</div>

OpenWrt implies resource-efficient optimization, which is very different from the approach of application virtualization.  
If you need those kind of packages, most likely you should use some other distribution.

---

<div class="post-metadata">

**Author:** ![vahid-dan](https://forum.openwrt.org/user_avatar/forum.openwrt.org/vahid-dan/32/3285_2.png) [@vahid-dan](https://forum.openwrt.org/u/vahid-dan)\
**Post date:** [February 28, 2019, 2:58pm UTC](https://forum.openwrt.org/t/install-snap-packages-on-openwrt/32302/5 "2019-02-28T14:58:57Z")

</div>

Hi Vgaetera;

You're right. But our app is a VPN and we need to install it on OpenWRT since some of our users explicitly use OpenWRT.

Bests,  
Vahid

---

<div class="post-metadata">

**Author:** ![jeff](https://forum.openwrt.org/letter_avatar/jeff/32/5_5575768a8748004e209b776fc1b2916d.png) [@jeff](https://forum.openwrt.org/u/jeff)\
**Post date:** [February 28, 2019, 3:06pm UTC](https://forum.openwrt.org/t/install-snap-packages-on-openwrt/32302/6 "2019-02-28T15:06:05Z")

</div>

> [@vahid-dan](#):
>
> What is your opinion about this solution?

My opinion is that it is the wrong way to go about running firmware on a resource-constrained device.

My opinion is that you should either provide source so that it can be built by the end user, or provide a package that is compatible with OpenWrt.

My opinion is that closed-source and/or proprietary VPN products have a high risk of being insecure and/or containing spyware and should **_never_** be installed. This risk is even greater with "unknown" companies.

---

<div class="post-metadata">

**Author:** ![vahid-dan](https://forum.openwrt.org/user_avatar/forum.openwrt.org/vahid-dan/32/3285_2.png) [@vahid-dan](https://forum.openwrt.org/u/vahid-dan)\
**Post date:** [February 28, 2019, 3:21pm UTC](https://forum.openwrt.org/t/install-snap-packages-on-openwrt/32302/7 "2019-02-28T15:21:06Z")

</div>

Jeff,

Thanks for the comments. BTW, our product is an opensource VPN which we are working on since 2006 in an academic research lab at the University of Florida funded by the National Science Foundation (NSF).

Bests,  
Vahid

---

<div class="post-metadata">

**Author:** ![eduperez](https://forum.openwrt.org/user_avatar/forum.openwrt.org/eduperez/32/2066_2.png) [@eduperez](https://forum.openwrt.org/u/eduperez)\
**Post date:** [February 28, 2019, 3:31pm UTC](https://forum.openwrt.org/t/install-snap-packages-on-openwrt/32302/8 "2019-02-28T15:31:40Z")

</div>

In that case, I think you will likely find someone willing to help you create a native package for OpenWrt.
