To oversimplify, there are 3 types of linux distros that are different enough to not be fully compatable. Debian based (ubuntu) use .deb packages and tend to be for the average user. Fedora/redhat distros use rpm and tend to be for enterprise users. Then there's Arch, for masochists. Each use a few different terminal commands as well, so sticking to one flavor can be simpler.