dpkg -L
lists all the files provided by a package. How is this accomplished with yum?
The operating system is Scientific Linux 6.
dpkg -L
lists all the files provided by a package. How is this accomplished with yum?
The operating system is Scientific Linux 6.
This functionality is provided by rpm, not yum:
rpm -ql [packagename]
From the documentation:
rpm -ql packagename
is roughly equivalent.You should think of
yum
as similar toapt-get
andrpm
as roughly equivalent todpkg
.yum
deals with packages in terms of repositories, andrpm
deals with individual packages.Ubuntu actually provides a cheat sheet on similar actions:
Switching between RedHat and Ubuntu