Looking for single command vs having to use raspi-config
user interface?
Having read How can I enable the camera without using raspi-config?, tried following, but that didn’t work on Ubuntu 22.04.1 LTS.
$ cat << "EOF" | sudo tee -a /boot/firmware/config.txt
gpu_mem=128
start_x=1
EOF