On getting started with Endless OS

dpkg and apt-get are included in our images because they’re used to assemble the OS, but they don’t work while running Endless OS, as you’ve discovered. The base system is a read-only OSTree and apps are installed using Flatpak.