Linux Fundamentals 20

Source: Internet
Author: User
Tags gpg

 RPM package Management, installation     rpm -i,--install  rpm_package ...         -v  Show Progress         -h:bash the number of # to show the installation progress, A # indicates 2% Progress         --test  test can be installed          --nodeps  Ignore dependencies         -ivh,--replacepkgs  Reinstall, the original configuration file will not be overwritten, new installation                               's configuration file renames files with rpmnew suffix                                      -e ,--erase  Uninstall, with the package name, if you uninstall the package that is dependent on other programs,                      to remove dependencies or ignore dependencies or not uninstall                  -q   query whether a package is installed                   -qa  query all installed packages                  -qi  Query Package Description Information                  -ql  Query the list of files generated by the current system after the package is installed                  -qf  query which package is generated for a file                 -qd  Query package installation generated Help document                 - qc  Query the configuration file generated after installation                  -q ,--scripts  Query Package relatedScripts, scripts divided into four categories             preinstall  pre-installation scripts              postinstall  post-installation scripts              preinstall  Pre-Uninstall Scripts              postinstall  post-Uninstall scripts                  query information about RPM package files that have not been installed        - qpl  query installation after the build Rpm              -qpi   Query Simple description information           rpm Package upgrade         -U  Upgrade or install                -F  Upgrade               rpm { -uvh|-fvh}              --nodeps  Ignore dependencies                --force  Forced installation                 Note: Do not upgrade the kernel, multiple versions of the kernel can coexist, it is recommended to perform the installation operation           rpm Package Check        Check if the files generated after package installation are modified        rpm -V          -S           -M          -5           -D           -L          -U           -G          -T           -p       rpm  verification of source legality and package integrity              Package Integrity: {md5|sha1}         through one-way encryption mechanism     source legitimacy: via Public key Cryptography (RSA)         commands  gpg pgp               rpm -K  Import the author's public key, The public key of the CentOS release is in the ISO file                import command:  rpm --import gpg-key-file               rpm --checking            - -nosignature  does not check the legitimacy of the source            --nodigest  Do not check package integrity                Rebuild Database         rom --initdb  initialization, pre-existing, new            --REBUILDDB   Direct Reconstruction coverage

Linux Fundamentals 20

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.