use sudo for packages installation, if present