Snapcraft is a build and packaging tool developed by Canonical which allows packaging the software in an entity called snap.
Questions tagged [snapcraft]
174 questions
3
votes
0 answers
snapd randomly takes up all the available memory
I'm using snaps in ubuntu 20.04. Every so often, even several times a day all of a sudden my computer freezes as the memory usage foes to 100% with all available memory taken by snapd. I tried killing the snapd process but it wouldn't make any…

marcin_j
- 414
- 4
- 18
3
votes
2 answers
Simple hello world snap is not working after upgrade of ubuntu 18.04 to 20.04
Recently, I have started working on snapping.
I have learnt snapping on Ubuntu 18.04 with simple hello-gnu.
After that i have moved to ubuntu 20.04. I have faced many issue. So i decided to simply run hello-gnu snap again on ubuntu 20.04. But it's…

Himanshu Nakum
- 31
- 2
3
votes
2 answers
Is there a way to build snap or a linux app without using snapcraft?
I'm using flutter dev and I wanted to enable linux support to many applications and followed this tutorial but the thing is
Everytime I try to run snapcraft launches a VM and installs flutter again from the snap
this uses lot of my disk space,time…

sonu ishaq
- 101
- 14
3
votes
2 answers
How do I make Snap Store fonts on Arch Linux display as text and not as empty rectangles?
I recently set up a Parallels VM on my Mac with Arch Linux as the OS. I followed these directions to set up Arch (except I didn't install most of the fonts until after everything else was done).
I then installed the Snapcraft Snap Store. However,…

gcdev
- 1,406
- 3
- 17
- 30
3
votes
4 answers
notepad-plus-plus snap does not start on Ubuntu
I installed notepad-plus-plus on Ubuntu machine. It was working fine. With no evident reason it stopped to work. Icon disappeared from application list. When I launch shell script /snap/notepad-plus-plus/current/bin/notepad-plus-plus I got error…

zdenko.s
- 931
- 1
- 12
- 29
3
votes
2 answers
IntelliJ IDEA not able to run as described
I followed installation of IntelliJ IDEA as described in the following session.
Install IntelliJ IDEA as a snap package on Linux
sudo snap install intellij-idea-community --classic
And it says ...
When the snap is installed, you can launch it…

yas
- 486
- 1
- 8
- 23
3
votes
2 answers
How to add a custom PPA to snapcraft
Base problem/goal:
I want to be able to use some shared libraries, that should be fetched before cmake step(plugin) from a custom PPA.
snapcraft.yaml:
name: mraa-blink-example
version: 'Latest'
summary: mraa for snapcraft
description: |
Blink…

Manea Flavian Costin
- 49
- 3
3
votes
1 answer
How can I launch an external program from my snap application outside of the snap context?
In vala I am launching the elementary OS Settings like this:
var appinfo = AppInfo.create_from_commandline ("switchboard", null, AppInfoCreateFlags.SUPPORTS_URIS);
appinfo.launch_uris (list, null);
But this fails because I assume the process is…

AndrewVos
- 1,297
- 2
- 14
- 25
3
votes
1 answer
Deploy python venv as snap
We have a python(3) venv rest api. In the same venv we have also installed and configured the application server uwsgi the api is running on. And we are looking for a clean way to deploy it.
Until now we are deploying with is a simple script that…

zochamx
- 850
- 8
- 17
3
votes
1 answer
How to build SNAP package from Qt project
It's my first time then I build a program into the SNAP package. I want to make my program more accessible.
The build is going without problems.
But libqtnetwor5 not see a couple needed libraries. Right here below you can see description of all logs…

Alexey Ananyev
- 53
- 3
3
votes
2 answers
Install Go Programming Language on Ubuntu core (snappy)
I tried to install Go language on Ubuntu Core (snappy) for creating a web server. How to do it? I have problem downloading go-lang archive because there is no 'wget' in ubuntu core. Any solutions?

nnm
- 187
- 2
- 9
2
votes
2 answers
Snap throws error when trying to run 'code' (VSCode) or any other snap package
Suddenly Snap has started throwing error when ever i try to run any app such as VSCode, Spotify and Bitwarden that is installed via snap, this was not the case until yesterday and the only notable change i have made to my system is that i have…

dcs_2002
- 35
- 3
2
votes
1 answer
Cannot connect to docker daemon in intellij in ubuntu with snap
In Intellij Ultimate docker is not detected automatically.
I choose "create new", but i get the message, that i cannot connect to docker daemon at unix /var/run/docker.sock
i started docker with: sudo snap docker start
The file docker.sock exists.
i…

David
- 2,926
- 1
- 27
- 61
2
votes
1 answer
Which is the most stable way to install flutter in GNU/Linux?
I recently decided to switch from W10 to GNU/Linux, and yes still a Linux noob.
So which is the most recommended way to install flutter on Linux?, a way which won't get me troubles in the future when I try to update flutter.
Right now I only now…

Raúl Peñate
- 342
- 5
- 15
2
votes
1 answer
Where do I place a docker config.json file when docker is installed as a snap on Ubuntu?
I want to use a custom docker config.json file like this to reassign the detach keystrokes:
{
"detachKeys": "ctrl-q,ctrl-q"
}
In a "normal" docker world, i.e. one where docker is installed via apt or similar and not snap, I could put this file…

Gary
- 6,357
- 5
- 30
- 36