yum command and rdm

RMP is a software under LINUX executable program, you can just install it up. This is usually a software installation package RPM package (Redhat Linux Packet Manager, is the Redhat Package Manager), suffix .rpm.
RPM is the Redhat Linux with Red Hat, Inc. launched a package manager, making it easier to install software easily achieved through it.
1. Install the software: performing rpm -ivh rpm package name, such as:
#rpm -ivh Apache-1.3.6.i386.rpm
2. Software Upgrade: performing rpm -Uvh rpm package name.
3. Uninstall: execute rpm -e rpm package name.
4. Details of package query: execute rpm -qpi rpm package name
5. Query a file is part of the rpm package: execution rpm -qf rpm package name
6. check the package which will be written to the file system inside : execute rpm -qpl rpm package name

rpm package in the form of management is convenient, but the need to manually resolve package dependencies. A lot of time to install a software install a software you need to install one or more other software, when manually resolve very complex, yum solve these problems. Yum is a front end program rpm, the main purpose is designed to automatically resolve dependencies rpm, characterized by:

  1. Automatically resolve dependencies

  2. Can be grouped rpm, mounting operation is performed based on the group

  3. The introduction of the concept of a warehouse, supports multiple warehouses

  4. Simple configuration
    /etc/yum.repos.d warehouse under the profile directory

  5. yum install installation;

  6. yum remove unloading;

  7. yum update develop software upgrade

Published 16 original articles · won praise 0 · Views 548

Guess you like

Origin blog.csdn.net/QAQkira/article/details/104503376