Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ RPM package management under Linux     - iOS persistence of data archiving NSKeyedArchiver (Programming)

- Lsblk command lists using Linux block device information (Linux)

- Build Golang development environment configuration on Ubuntu 14.04 (Linux)

- Redis is installed in Ubuntu 14.04 (Database)

- Mass data storage application of MongoDB database (Database)

- Hadoop 2.6.0 stand-alone / pseudo-distributed installation (Server)

- DB2 Version SQLJ to access Oracle Server (Database)

- Linux Network Programming - raw socket instance: MAC header message analysis (Programming)

- The strings in Python reside (Programming)

- bash login and welcome message: / etc / issue, / etc / motd (Linux)

- Use the dd command to the hard disk I / O performance test (Linux)

- DRBD + Heartbeat solve NFS single point of failure (Server)

- Deploy the project to the server from GitHub (Server)

- Replace font under Linux (Linux)

- Debian 7.6 install Nvidia graphics driver (Linux)

- C ++ Const breaking rules (Programming)

- awk variables (Linux)

- RHEL7 Apache MPM configuration (Server)

- Eclipse improve the efficiency of good habits (Programming)

- MySQL Tutorial: About checkpoint mechanism (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
- Redis performance test (Database)
- How to use secure FTP file transfer (Server)
- Iptables small summary (Linux)
- Protobuf compiled and used on the Ubuntu 14.04 (Programming)
- File permissions under Linux (Linux)
- MySQL management partition table (Database)
- Introduction Linux namespace (Linux)
- SpringMVC garbage processing (Programming)
- mysql_config_editor encryption and decryption of the new features of MySQL realization (Database)
- Ubuntu install driver manager Mint Driver Manager and Device Driver Manager (Linux)
- Seven kinds of NIC binding mode Detail (Linux)
- Linux system find command Detailed (Linux)
- Ubuntu arm-none-eabi-gcc compiler treated with STM32F10x (Linux)
- The difference between statement and preparedStatement of the jdbc (Database)
- Configure shared library PCRE (Linux)
- Install JDK 1.7 + Eclipse in CentOS 6.4 in (Linux)
- Modify Linux terminal prompt path length (Linux)
- Linux System Getting Started Learning: Linux command in w (Linux)
- Linux system installation Gitlab (Server)
- GROUP BY extension (Database)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.