Update linux instructions for picolibc and opencl

This commit is contained in:
Philippe Teuwen
2026-04-28 13:00:43 +02:00
parent 5984a062b2
commit 4e36685738
@@ -65,6 +65,16 @@ libreadline-dev gcc-arm-none-eabi libnewlib-dev qt6-base-dev \
libbz2-dev liblz4-dev zlib1g-dev libbluetooth-dev libpython3-dev libssl-dev libgd-dev
```
On recent distros such as Debian Forky, you may have a conflict between `gcc-arm-none-eabi` and `libnewlib-dev`. In this case, ignore `libnewlib-dev` in favor of `picolibc-arm-none-eabi`:
```sh
sudo apt-get install --no-install-recommends git ca-certificates build-essential pkg-config \
libreadline-dev gcc-arm-none-eabi picolibc-arm-none-eabi qt6-base-dev \
libbz2-dev liblz4-dev zlib1g-dev libbluetooth-dev libpython3-dev libssl-dev libgd-dev
```
If you want to compile `crack5opencl`, you will also need `opencl-dev` or, on newer distros such as Debian Forky, `ocl-icd-opencl-dev`.
### If you don't need...
👉 If you don't need the native Bluetooth support in the client,
you can skip the installation of `libbluetooth-dev`.
@@ -94,6 +104,8 @@ sudo pacman -Syu git base-devel readline bzip2 lz4 zlib arm-none-eabi-gcc \
arm-none-eabi-newlib qt6-base bluez python gd --needed
```
If you want to compile `crack5opencl`, you will also need `ocl-icd`.
### If you don't need...
👉 If you don't need the native Bluetooth support in the client,
you can skip the installation of `bluez`.
@@ -120,6 +132,8 @@ readline-devel bzip2-devel lz4-devel zlib-ng-compat-devel qt6-qtbase-devel bluez
python3-devel libatomic openssl-devel gd-devel
```
If you want to compile `crack5opencl`, you will also need `mesa-libOpenCL` and `ocl-icd-devel`.
### If you don't need...
👉 If you don't need the native Bluetooth support in the client,
you can skip the installation of `bluez-libs-devel`.
@@ -174,6 +188,8 @@ python3-devel qt6-core-devel qt6-widgets-devel libopenssl-devel gd-devel \
cross-arm-none-gcc12 cross-arm-none-newlib-devel
```
If you want to compile `crack5opencl`, you will also need `ocl-icd-devel`
### If you don't need...
👉 If you don't need the graphical components of the Proxmark3 client (such as in `hw tune`),
you can skip the installation of `qt6-core-devel qt6-widgets-devel`.