require package installation before alternatives config