Installing Debian On ThinkBook 16 G5+ APO
The SKU for my device includes an AMD Ryzen 7 7840H, 32 GiB memory, and no discrete GPU. I have replaced the wireless card with an Intel AX210 for potentially improved wireless stability.
Debian Bookworm runs almost flawlessly on this setup (dmesg). No special instructions are needed for installation. Integrated devices such as the keyboard, touchpad, internal mic, and camera work well. However, there are a few minor issues to note.
Block a Linux Program from Accessing Network
Sometimes we want to block a specific program from accessing network, to check if it works well without network access, or to disable its telemetry (if any).
Build MEX Functions Without Using MATLAB
MEX functions are generally built using MATLAB’s “mex” command. However, we can also build MEX functions using open source toolchains. Cross-compilation is also possible. That is, we can build MEX functions for Windows using a Linux host. An example is given herein.