Task: Mount the disc file to the/media directory, go to the packages directory under the/media directory, view all RPM packages installed on the system, see if the system is installing the DHCP package, install the DHCP package, view the DHCP package information, View all files included in the DHCP package, see which package the/bin/ls file was generated from, uninstall the DHCP package
Time short task Heavy, no problem old iron 666 straight into the subject:
1) Use Mount Mount disc file/dev/sr0 to/media directory
OMG above the hint seems to tell me that you failed to mount, okay, so I'll unload all of you.
Use Umount to unload devices mounted on the/media and/run/media/root/centos 7 x86_64/
Re-use Mount Mount disc file/dev/sr0 to/media directory
2) Enter the packages directory under the/media directory
3) Use rpm-qa to view all RPM packages installed by the system
4) Use the rpm-q package to see if the system is installing DHCP packages
A package that can be viewed to DHCP is not installed
5) Install the DHCP package using the RPM-IVH package
This completes the installation of the magical DHCP
6) Use the Rmp-qi package To view information about the DHCP software package
7) Use the RMP-QL package to view all files included in the DHCP package
8) Use the rpm-qf file to see which package generated the/bin/ls file
9) Uninstalling the DHCP package using the RPM-EVH package
Mission accomplished, no problem. Old iron, in fact the command option is universal V is the display of information, H is to display the progress bar
Linux Basic-RPM Package management