Skip to content

Commit

Permalink
snap: Delete support
Browse files Browse the repository at this point in the history
The snap packaging hasn't been updated in a few years. It also had some
issues with the sandboxing (see bpftrace#829). Now that we have our own portable
mechanism via appimages (4c24ee9), let's just delete snap support.
  • Loading branch information
danobi committed Nov 17, 2023
1 parent baf41c9 commit 32143d1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 156 deletions.
9 changes: 0 additions & 9 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,6 @@ sudo apt-get install -y bpftrace

Should work on Ubuntu 19.04 and later.

On Ubuntu 16.04 and later, bpftrace is also available as a snap package (https://snapcraft.io/bpftrace), however, the snap provides extremely limited file permissions so the --devmode option should be specified on installation in order avoid file access issues.

```
sudo snap install --devmode bpftrace
sudo snap connect bpftrace:system-trace
```

The snap package also currently has issues with uprobes ([#829](https://github.com/iovisor/bpftrace/issues/829)).

## Fedora package

For Fedora 28 (and later), bpftrace is already included in the official repo. Just install the package with dnf.
Expand Down
147 changes: 0 additions & 147 deletions snap/snapcraft.yaml

This file was deleted.

0 comments on commit 32143d1

Please sign in to comment.