1. Enable contrib and non-free sources

    Using the terminal, edit the following file, add the “contrib” and “non-free” sources, or replace with these lines:

    sudo vim /etc/apt/sources.list
    
    deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    deb-src http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    
    deb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
    deb-src http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
    
    deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
    deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
    
  2. Enable bookworm backports (it works for Trixie as well)