The packages linux-tools-$(uname -r) and openjdk-22-jdk are missing in debian 12. I used debian 12 to use the same kernel of the book.
I changed openjdk-22-jdk for openjdk-17-jdk and linux-tools-$(uname -r) for the packages linux-perf, linux-cpupower and usbip.
It would be nice if the script can handle more distros and versions. I could make a PR with my modified script for debian 12
The packages
linux-tools-$(uname -r)andopenjdk-22-jdkare missing in debian 12. I used debian 12 to use the same kernel of the book.I changed
openjdk-22-jdkforopenjdk-17-jdkandlinux-tools-$(uname -r)for the packageslinux-perf,linux-cpupowerandusbip.It would be nice if the script can handle more distros and versions. I could make a PR with my modified script for debian 12