Linux_FoundationLinux_Foundation
LFCS · Question #707
LFCS Question #707: Real Exam Question with Answer & Explanation
The correct answer is E: rpm-qlp vorbis-tools-1.1.1386.rpm. To list the files contained within an uninstalled RPM package file, the rpm command requires query (-q), list files (-l), and package file (-p) options.
Submitted by diego_uy· Apr 18, 2026Essential Commands
Question
Which command will list all the files installed from the RPM package file named, vorbis-tools- 1.1 .i386.rpm?
Options
- Arpm-qfvorbis-tools-1.1 .i386.rpm
- Brpm -F vorbis-tools-1.1 .i386.rpm
- Crpm -pf vorbis-tools-1.1 .i386.rpm
- Drpm -ql vorbis-tools-1.1.1386.rpm
- Erpm-qlp vorbis-tools-1.1.1386.rpm
Explanation
To list the files contained within an uninstalled RPM package file, the rpm command requires query (-q), list files (-l), and package file (-p) options.
Common mistakes.
- A.
rpm -qfis used to query which package owns a specific file, not to list files within a package file. - B.
rpm -F(freshen) is used to update installed packages, not to list files within a package file. - C.
rpm -pfis an invalid combination of options;-pis for package file, and-fis for querying files, but not in this structure to list contents. - D.
rpm -ql vorbis-tools-1.1.i386.rpmwould attempt to query an installed package named "vorbis-tools-1.1.i386.rpm", which is unlikely to be its actual installed name, and it lacks the-poption to specify it's a file on disk.
Concept tested. RPM package file content listing
Topics
#RPM package management#Package queries#File listing
Community Discussion
No community discussion yet for this question.