I want to build and install snaps locally, not from the Snap Store. For example, snap install foo should fail and Snap Store apps should not appear in GNOME Software.

How can I keep Snap, but disable/remove the Snap Store?

  • askubuntu.com/a/984250/15811 (?) – Rinzwind Aug 11 '18 at 10:35
  • @Rinzwind I'm aware of that part of the solution, but it doesn't solve snap install foo, or the general premise of unplugging from the snap store, thanks anyway! – lofidevops Aug 11 '18 at 10:39

You could firewall off the store by setting all the host names the store uses to in your /etc/hosts file. That way you get to keep the ability to build and install snaps locally, but snapd will never reach the store.

Adding api.snapcraft.io to /etc/hosts will likely be sufficient.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.