Add the ability to install a local rpm or deb package.
Fixes #5149