preferred-pm

Detects what package manager was used for installation

which-pm

Detects what package manager was used for installation