Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ RPM package management under Linux     - Linux kernel likely and unlikely to resolve macro definitions (Linux)

- Confrontation dragged Library - Web front-end encryption slow (Linux)

- Linux Tutorial Share: How to sudo command to define the PATH environment variable (Linux)

- CentOS Linux firewall configuration and Close (Linux)

- Via Twitter how open source library to be used anywhere Emoji emoticons (Linux)

- LaTeX Getting Started Tutorial (Linux)

- Linux static library generated Guide (Programming)

- Linux system package manager -RPM (Linux)

- Solaris 10 installation configuration mrtg monitoring system (Linux)

- sudoers file parsing (Linux)

- Ubuntu 14.04.1 LTS compile and install the new kernel (Linux)

- Three details reflect the Unix system security (Linux)

- Spacewalk Linux system configuration and installation (Linux)

- Nine artifact control disk partition under Linux (Linux)

- Python implementation restart the router (Programming)

- Oracle 11g + RAC + RHEL6.5 + udev + ASM + PSU installation summary (Database)

- Linux stand-alone OGG synchronous Oracle 11g DB test (Database)

- Java Set and List in the relationship and difference (Programming)

- OpenStack package problems and solutions under CentOS6 (Linux)

- A drop datafile Oracle bug (Database)

  RPM package management under Linux
  Add Date : 2018-11-21      

An Internet download package for the packaging and installation tool, which is included in some version of linux distribution. It produces files with .RPM extension. RPM is an abbreviation for RedHat Package Manager (Redhat package management tools). Although this file format marked Redhat logo, but the original design is open-ended, now includes Linux distribution version of OpenLinux, S.u.S.E. And Turbo Linux, etc. are commonly used. It can be regarded as the accepted industry standard.

The name of the RPM package format


- "Apache": Software Name

- "1.3.23-11": software version, major version and this version

- "I386": software running on the hardware platform

- "Rpm": file extension, on behalf of the RPM package


RPM common commands

- Rpm -qa: query all rpm packages installed

- Rpm -qa | more

- Rpm -qa | grep X

- Rpm -q package name: Query package is installed

- Rpm -q xinetd

- Rpm -q foo

- Rpm -qi package names: Query package information

- Rpm -qi file

- Rpm -ql package names: Query package file

- Rpm -ql file

- Rpm -ql jdk

- Rpm -qf full pathname of the file: query the package file belongs

- Rpm -qf / etc / passwd

- Rpm -qf /root/install.log

- Rpm -qp package file name: Query package of information on the introduction of this package

- Rpm -qp jdk-1_5_0-linux-i586.rpm

- Rpm -qpi jdk-1_5_0-linux-i586.rpm

- Rpm -qpl jdk-1_5_0-linux-i586.rpm


RPM installation package

rpm -ivh RPM package full path name: the installation package to the current system

- I = install, installation

- V = verbose, tips, that is the message

- H = hash, the progress bar


Remove RPM package

Name rpm -e RPM packages

[Case] ​​rpm -e jdk

If other packages depend on the package you want to uninstall, uninstalling it will generate an error message, such as:

[Case] ​​rpm -e foo

removing these packages would break dependencies: foo is needed by bar-1.0-1

If you make RPM ignore this error continue uninstallation, use the command-line option --nodeps

[Case] ​​rpm -e --nodeps foo


Upgrade RPM packages

rpm -U RPM package full path name

[Case] ​​rpm -U cvs-1.11.2-10.i386.rpm
- Linux kernel likely and unlikely to resolve macro definitions (Linux)
- Linux and Windows Security Topics (Linux)
- Unsafe reboot start (Linux)
- blecat: Bluetooth Gadgets (Linux)
- Apache Mina framework Practice (Programming)
- Linux System Administrator Network Security Experience (Linux)
- MySQL 5.5 on master-slave copy filter (Database)
- Simple RPM package production (Linux)
- Spring JDBC Comments (Programming)
- Remote installation of Net-SNMP whole process (Linux)
- 10 useful Linux command line tips (Linux)
- To build PHP environment (Nginx + MariaDB + PHP7) under CentOS 6.5 (Server)
- Android Delete project useless resource file (Programming)
- Hibernate + JUnit test entity class generate database table (Programming)
- Linux LVM Logical Volume Management to resize partitions (Linux)
- Firewall types and instructions (Linux)
- To access an Oracle database using Instant Client (Database)
- CentOS 7 RHEL 7 to reset the root password (Linux)
- Shell array: Define Shell array, the array length (Programming)
- Java threads and thread pools (Programming)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.