What is an rpm package for linux? rpm is an Internet download package packaging and Installation tool, which is included in some distribution versions of linux. It generates a file with the. rpm extension. The www.2cto.com rpm package is somewhat similar to the. setup File in windows. Rpm package name format: for example, apache-1.3.23-11.i386.rpm "apache" represents the software name "1.3.23-11" represents the software version number, the main version and the version "i386" represent the software running hardware platform "rpm" represents the file extension, representing the rpm package rpm Common commands: 1, rpm-qa: query all installed rpm software packages Java code rpm-qa | more rpm-qa | grep samba 2, rpm-q software package name: check whether a rpm software package has the Java code rpm-q samba 3 and rpm-qi software package name: query the detailed information of an rpm software package. Java code rpm-qi samba 4 and rpm-ql software package name: query the file Java code rpm-ql samba 5 and rpm-qf in an rpm software package. query the installation of the rpm Software Package Java code rpm-qf/etc/passwd rpm package to which the file belongs: rpm-I rpm package full path name: install rpm package to the current system I = install rpm-ivh rpm package full path name: install rpm package to the current system prompt information with progress bar parameter description: I = install v = verbose prompt h = hash progress bar rpm package uninstall: rpm-e rpm package name example: java code rpm-e samba if other software packages depend on the software package you want to uninstall, an error message will be generated when uninstalling the software package. Reference Failed dependencies: samba is needed by (installed) if the redhat-config-samba-1.0.4-1 causes rpm to ignore this error and continues uninstallation (in this case, programs that depend on the package may not run ), clear the -- nodeps command line option Java code rpm-e -- nodeps samba