The package manager.
- Repositories are sources to download software from.
Repositories are usually located in
List all configured repositories:
Search for a package:
yum [-v] search <package>
-v to enable verbose output, which will show the repository that provides each package.
Disable searching a specific repository:
yum search <package> --disablerepo=ius
List all repositories configured on the system:
Find which repository you installed a package from:
yum info <package>
Find packages which provide a given file:
yum provides "*bin/top"
Inspecting an RPM file, if it’s not installed:
rpm -qlp <my-rpm.rpm>