Commit | Autor | Alter
|
16cd37
|
1 |
# G4 Linux suite Debian package builder |
JS |
2 |
This repository helps to build the g4 Linux suite for Debian based systems like Ubuntu or Debian. |
e47d48
|
3 |
|
JS |
4 |
## Dependencies |
|
5 |
- docker |
|
6 |
- docker-compose |
|
7 |
|
|
8 |
## Run |
|
9 |
1. `git submodule update --init` |
|
10 |
2. `docker-compose build` |
|
11 |
3. `docker-compose up` |
16cd37
|
12 |
4. After the process finished you will find `.deb` packages in each of the g4 suite components' `bin_deb` folder. |
e47d48
|
13 |
|
JS |
14 |
## Other OS Versions/Distributions |
16cd37
|
15 |
You may need to create new Docker files for your Debian based distribution. You can use `Dockerfile.impish` as template. |
JS |
16 |
|
|
17 |
## Supported Architectures |
35ba1b
|
18 |
As the `g4track` library is binary only and x86 only, this packages run only on x86 platforms. |
16cd37
|
19 |
### Raspberry Pi |
64ace7
|
20 |
To run G4 tools on a ARM Raspberry Pi anyways, you need to setup [QemuUserEmulation](https://wiki.debian.org/QemuUserEmulation). |
16cd37
|
21 |
Please note that this may come with a performance penalty, as the software is executed through QEMU emulating an x86 platform. |
64ace7
|
22 |
Because of consistent package versions among all architectures, we recommend to use [Ubuntu for Raspberry Pi](https://ubuntu.com/download/raspberry-pi). |
16cd37
|
23 |
1. `sudo apt install qemu binfmt-support qemu-user-static` |
JS |
24 |
2. `sudo dpkg --add-architecture amd64` |
|
25 |
3. `sudo apt update` |
35ba1b
|
26 |
4. `sudo apt install libc6:amd64 libusb-1.0-0:amd64` |
16cd37
|
27 |
5. `sudo dpkg -i <your g4 debian packages, should include g4track>` |