cd dev/tasks/linux-packages/apache-arrow rake version:update rake apt:build
The following command line shows all supported platforms, bear in mind to execute this command from your root arrow clone folder:
for x in dev/tasks/linux-packages/apache-arrow/apt/{debian,ubuntu}*; do basename $x; done
You can specify target platforms by setting APT_TARGETS:
cd dev/tasks/linux-packages/apache-arrow rake version:update rake apt:build APT_TARGETS=debian-bookworm,ubuntu-noble
You can use apt:build:console task to debug .deb packages build:
cd dev/tasks/linux-packages/apache-arrow rake version:update rake apt:build:console APT_TARGETS=debian-bookworm
It will show a Bash prompt. You can start .deb build by /host/build.sh:
host$ rake apt:build:console APT_TARGETS=debian-bookworm container$ /host/build.sh
You can keep the Bash session even when the .deb build failed. You can debug in the Bash session.
cd dev/tasks/linux-packages/apache-arrow rake yum:build
The following command line shows all supported platforms, bear in mind to execute this command from your root arrow clone folder:
for x in dev/tasks/linux-packages/apache-arrow/yum/{alma,amazon,centos}*; do basename $x; done
You can specify target platforms by setting YUM_TARGETS:
cd dev/tasks/linux-packages/apache-arrow rake yum:build YUM_TARGETS=almalinux-9,amazon-linux-2023
You can use yum:build:console task to debug .rpm packages build:
cd dev/tasks/linux-packages/apache-arrow rake yum:build:console YUM_TARGETS=almalinux-9
It will show a Bash prompt. You can start .rpm build by /host/build.sh:
host$ rake yum:build:console YUM_TARGETS=almalinux-9 container$ /host/build.sh
You can keep the Bash session even when the .rpm build failed. You can debug in the Bash session.