Questions tagged [snapcraft]

Snapcraft is a build and packaging tool developed by Canonical which allows packaging the software in an entity called snap.

174 questions
0
votes
1 answer

How do I ship VLC into my Operating System Dependent VLCJ Application?

I am creating a Java application that uses VLCJ. However, because it uses VLC, it means that I need to find a way to download VLC for the user so that VLCJ can detect the binaries and find the files necessary. Unfortunately, VLC has operating…
Brandon Li
  • 63
  • 1
  • 1
  • 6
0
votes
0 answers

seemingly unsolvable "Cannot connect to the Docker daemon at unix" (7 solutions tried and failed)

after re-installing docker sudo snap install docker on francesco@francesco-yoga720:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: …
Francesco Iapicca
  • 2,618
  • 5
  • 40
  • 85
0
votes
1 answer

Snapcraft build fails cmake part step

My computer: snap 2.48.2 snapd 2.48.2 series 16 ubuntu 20.04 kernel 5.8.0-41-generic Here is my yml: name: someproject version: '3.3.1.0' base: core20 summary: "someproject: asdfasdf" description: | someproject asdfasdf. grade:…
0
votes
1 answer

I uploaded snap on snapcraft now how can i delete this?

Hello Guys I had created a useless app to test distributions of the app on different platforms. now I want to remove that from the snap store how can I? i published it by uding snapcraft upload --release=stable updatelearning_xxx_amd64.snap How to…
0
votes
1 answer

Why do do I get GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT using JAVAFX versions greater than 12.02

I have built a LINUX based UBUNTU snap app using BASE20 (i.e. Ubuntu 20.04) as a target OS, and it is in distribution. That App works perfectly well using OpenJDK 11 through to 15.0.1 on OpenJFX 11 and 12. However if I move to a more recent version…
Alan
  • 1
  • 3
0
votes
1 answer

How to make a keyword for terminal

So basically, I have a python program (called: robot) that I want to run from anywhere (Any directory) in the terminal simply by typing its name and I want this to do the same thing that python robot.py would do. How can I achieve this? Do I have to…
Virej Dasani
  • 185
  • 3
  • 15
0
votes
1 answer

snapscraft snap.yaml for java apps using swing ui on ubuntu

I have a basic java app using java.awt Swing UI and I want to create a snap for it so when it's installed there is a launcher available and my UI Launches. I use gradle and the jar task to create a jar which works fine. Naturally I have in a class…
bsautner
  • 4,479
  • 1
  • 36
  • 50
0
votes
1 answer

Cannot enable experimental in snap docker 19.03

My docker is installed with snap. I added the following line $ sudo cat /root/.docker/config.json { "experimental": "enabled" } $ cat ~/.docker/config.json { "experimental": "enabled" } then sudo snap restart docker then run the…
Mr.Wang from Next Door
  • 13,670
  • 12
  • 64
  • 97
0
votes
1 answer

Can't create a snap with Snapcraft

I'm trying to create a snap for Alacritty on ubuntu 20.04 x64. Creating an executable with cargo build --release works fine. Creating a snap using snapcraft gives error message: note: /usr/bin/ld: cannot find Scrt1.o: No such file or directory …
Amani
  • 16,245
  • 29
  • 103
  • 153
0
votes
1 answer

How to specify which channel to download Flutter infrastructure from?

I use Ubuntu 20.04. I downloaded Flutter from the Snap store (Stable channel). When I initialized Flutter, it started to download infrastructure from the beta channel of its GitHub repository. So, my question is: Is it normal or something is…
AriyaDey
  • 137
  • 1
  • 7
0
votes
2 answers

Problem with the OPC UA Client while trying to create an Ubuntu snap

I've created a working app by using the OPC UA package for node. I ran it on a Linux VM (Ubuntu 18.04 Bionic) and want to put it into a snap for easier reuse on other systems. I followed the tutorial in their docs on how to create a nodejs snap. But…
KorJu
  • 1
  • 3
0
votes
1 answer

How to run and debug a snap application with GDB?

We have an open-source C++/Qt application which we recently also started to package and distribute as a snap (snapcraft). It's been a bumpy ride. Among numerous other issues some users have reported crashes (SIGSEGV) when running the application…
jotik
  • 17,044
  • 13
  • 58
  • 123
0
votes
1 answer

Cannot perform subprocess.run inside a snap

In my snap (coded in python), I try to perform some sudo commands but it didn’t work. Here is an example of a command that didn’t work: command = "sudo netmgr -i country_code set:" + countryCode subprocess.run([command]) And when I run the snap in…
Kevin
  • 9
  • 1
  • 5
0
votes
1 answer

Unicode Characters wont work in snapcraft

When I try to use Unicode characters, for example € my app only prints the escape sequence. i.e. \u20AC. How do I fix this?
Mitch
  • 3,342
  • 2
  • 21
  • 31
0
votes
1 answer

How to snap a python package with plugin packages?

I'd like to bundle the Python package kedro which provides a command line interface (kedro). In addition I'd like to put the Python package kedro-docker into the snap as well. This second package extends the first package's command line interface…
thinwybk
  • 4,193
  • 2
  • 40
  • 76