Home IT Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ RPM package management under Linux     - Android using shape drawable material production (Programming)

- Android working with Volley Comments (Programming)

- Set multiple IP addresses for a single network card on Ubuntu 15.10 (Linux)

- JavaScript function part (Programming)

- Android HTTP request with Get Information (Programming)

- How to Install Node.js in CentOS 7 (Linux)

- Oracle 11g tracking and monitoring system-level triggers to drop misuse (Database)

- CentOS install pip (Linux)

- Hadoop 2.7.1 Installation and Configuration under RedHat Linux 6.5 (Server)

- Java object serialization (Programming)

- Spring declarative transaction management (Programming)

- Modifying the system registry protection server security (Linux)

- The headers for the current running kernel were not found when VirtualBox installation enhancements (Linux)

- Transfer files to Windows and Linux (Linux)

- How to install and use the malware detection tool LMD and ClamAV antivirus engine on Linux (Linux)

- Distributed Firewall Design on Linux platform (Linux)

- To install Cinnamon desktop environment on your Ubuntu 14.04 / 12.04 (Linux)

- Getting Started with Linux: CentOS7 Install Mono with the yum command (Server)

- About AWR More Description (Database)

- Nginx configuration support f4v video format player (Server)

  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
- C ++ complex class of operator overloading (Programming)
- Ubuntu system safe and caution sudo su command (Linux)
- Learning C ++ Standard Template Library and data structures (Programming)
- Java object serialization (Programming)
- Linux server dual-card dual-IP and single-card dual-IP configuration method (ReHat / CentOS) (Server)
- CentOS 7.0 running Docker kernel error solution (Server)
- CentOS minimal network is unavailable resolved (Linux)
- To install Git on Ubuntu systems (Server)
- Features and prevention methods elaborate network security grayware (Linux)
- Android project and coding specifications (Programming)
- Mumble installation source VoIP application on Ubuntu (Linux)
- Linux and SELinux Exploration Program Manager (Linux)
- Linux Shell Scripting (Programming)
- Top 10: HTML5, JavaScript 3D game engine and framework (Linux)
- Ubuntu study notes and related problem solving (Linux)
- Android timer use (Programming)
- Copy U disk files to the Linux system on a virtual machine (Linux)
- Linux Command Tutorial: Ubuntu apt-get command (Linux)
- Comparison of C # and Java (Programming)
- Open SSH remote access service that allows Android phone Ubuntu 14.04 (Linux)
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.