Linux generally has two kinds of packages, one is called source package, the other is called binary package.
The source package is a non-compiled package that can be run on any platform and customizable after compilation. Generally ends with. SR c.rpm.
A binary package is a compiled package that is only available on a certain platform. Suffixes are generally not. src, only. RPM ends.
Linux under the mainstream installation method:
One is the rpm(Red Hat package Manager) installation, which requires a dependency relationship to be resolved.
One is the dpkg(Debianpackage), which also needs to address dependencies.
There are also yum installations that automatically install dependent packages.
where rpm is suitable for use in CentOS or Redhat systems,
dpkg is suitable for use in Ubuntu and Debian.
RPM can install, delete, upgrade, and manage software released in RPM packages, or query which files are included in the RPM package
Rpm-q A (query) query (all)
Rpm-u Update #大写U
Rpm-e means Uninstall
Rpm-i installing the specified package file
RPM-V Display Instruction Execution process
Rpm-c displaying the file's configuration file
Rpm-f query for dependent packages with specified files
More commonly used are the following situations:
Installing RPM-IVH package.rpm
Update RPM-UVH new-package.rpm
Uninstalling Rpm-e old-package.rpm
The use of dpkg and Yum will be more specific in the future.
Linux different versions of package installation