I don’t think efficiency would be the thing, but I suspect that a generalized package could have trouble accessing certain distro specific/unique things. Some packages don’t have 100℅ compatibility with every distro.
That said Ubuntu’s very ubiquitous/popular and tends to be top of the list when you’re looking at the compatibility list of an application, so I think it’s the least likely to have trouble.
But… I’m answering generally here from a systems perspective, not a developer’s. There might be quirks about how a native vs added package can/does interact with an OS… And I’m joking someone else can chime in
I don’t think efficiency would be the thing, but I suspect that a generalized package could have trouble accessing certain distro specific/unique things. Some packages don’t have 100℅ compatibility with every distro.
That said Ubuntu’s very ubiquitous/popular and tends to be top of the list when you’re looking at the compatibility list of an application, so I think it’s the least likely to have trouble.
But… I’m answering generally here from a systems perspective, not a developer’s. There might be quirks about how a native vs added package can/does interact with an OS… And I’m joking someone else can chime in