RPM Installation:
1, RPM package to understand:
RPM Installation Upgrade Removal
RPM-IVH ****.rpm Installation
RPM-UVH ****.rpm Upgrade
RPM-E name Delete
Inquire
Rpm-qa query All packages that have already been installed
Rpm-q Name Query name package, whether the
Rpm-qi Name Query information about the name package
RPM-QL name queries the related files contained in the name package
Rpm-qf/path/file_name query which installation package a file belongs to
Special usage
RPM-QF ' which comand_name ' queries the package to which the related command belongs
Yum Install software
Yum install name.rpm installation related packages (automatic installation of dependent packages)
Yum list lists all packages in the Yum source
Yum Search name query, related package (fuzzy query) with name Word
Yum List | grep ' command_name ' query the command_name you're looking for
Yum grouplist Query Group installation package
Yum Groupinstall group_name Installation Pack
Yum Groupremove group_name Delete a group package
Yum Remove Package_name Delete a package
Yum Update upgrades all packages (can be upgraded as soon as new systems are installed)
Yum Update package_name upgrade a package
Yum provides "/*/vim" find out which package vim belongs to (you can find packages that are not installed)
Setup of Yum Local Source:
Mount/dev/sr0/mnt/path_dir_name
cd/etc/yum.repos.d/
RM-RF *
echo "
[Diy_repo]
Name=diy_repo
Baseurl=file:///mnt/path-dir_name
Enable=1
Gpgcheck=0
"> Aaa.repo
Yum clean clears the previous cache
Then Yum list can view and install the
Linux rpm Yum installation software