sudo apt update && sudo apt upgrade -y The easiest method is via Flatpak, which handles dependencies automatically. First, install Flatpak:
But there is one massive problem for modern users:
If you haven't already, go to Settings > Developers > Turn On Linux. Let it install the Debian container.