As above a lot of phones and devices have an "allow apk's from unknown sources option" (or something similar) allowing you to install apk's from any downloaded apk, by default most android devices not do not allow this so you need to enable that yourself in the devices options
I totally understand why they do that though and it has less to do with pirating and more to do with keeping your device safe from viral attacks and or other exploiting