Skip to content

Commit f197be1

Browse files
authored
Add Linux packaging instructions to build (#1126)
1 parent 94a0a8b commit f197be1

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

BUILD.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,19 @@ Arch:
3535
sudo pacman -S zip zig
3636
```
3737

38+
##### For packaging
39+
40+
For packaging, the following additional packages are required:
41+
42+
- `fpm` — If you're on x64 you can skip this. If you're on ARM64, install fpm via [Gem](https://rubygems.org/gems/fpm)
43+
- `rpm` — If you're not on Fedora, install RPM via your package manager.
44+
- `snapd` — If your distro doesn't already include it, [install `snapd`](https://snapcraft.io/docs/installing-snapd)
45+
- `lxd` — [Installation instructions](https://canonical.com/lxd/install)
46+
- `snapcraft` — Run `sudo snap install snapcraft --classic`
47+
- `libarchive-tools` — Install via your package manager
48+
- `libopenjp2-tools` — Install via your package manager
49+
- `squashfs-tools` — Install via your package manager
50+
3851
#### Windows
3952

4053
You will need the GNU build toolchain installed in order for Go to work on Windows. In most cases, this requires installing MinGW-w64.
@@ -118,6 +131,12 @@ Run the following command to generate a production build and package it. This le
118131
task package
119132
```
120133

134+
If you're on Linux ARM64, run the following:
135+
136+
```sh
137+
USE_SYSTEM_FPM=1 task package
138+
```
139+
121140
## Debugging
122141

123142
### Frontend logs

0 commit comments

Comments
 (0)