One of the Linux challenge videos. Either part 1 or 2.
The Linux community loves hating on Linus for this, but honestly, it was a bug that popos has now fixed, and the video genuinely shows how difficult Linux can be for the average user.
It's through the package manager of your distro, apt, pacman, dnf... It has the best integration with the system and other apps installed though the package manager (if there is a gui on your distro, it is the same thing, tho some allow to chose between different sources.
The flatpak version it may also be viable.
Deb is a very bad idea as you wont have the dependencies installed automatically.
Linus was just stupid and did not update pop os after install.
Tho he could have updated it and maybe when he did the recording the issues was discovered but not yet fixed. But The issue was already well fixed when he posted the video.
I don't remember how all went.
He installed the OS, opened the default software center, and installed a package.
There's simply no way to justify what happened. I challenge you to find any situation in which installing a package from the Microsoft Store would uninstall critical system packages and also kill the entire GUI.