百胜vs RPM
在最初的Linux安装过程中,默认情况下会安装更大的程序,但是有时候用户可能需要安装新的程序。一段时间后,用户被要求编译和构建源代码以安装新程序。但是现在,用户可以轻松安装称为软件包的预构建程序。软件包管理工具用于从Linux发行版中安装,更新和删除软件包。RPM是Linux平台上使用的流行软件包管理器。百胜是RPM的高级前端。RPM是由Red Hat开发的,而杜克大学(Duke University)最初是在物理实验室管理红帽系统的百胜(Yumdog Updater,修改者)开发的。RPM具有基本的命令行功能,可以从Internet获取软件包,将安装的软件包保留在数据库中,并可以与其他用户友好的GUI集成。YUM在RPM现有功能之上提供了其他几个功能。
What is RPM?
RPM是1995年由Red Hat。It was originally known as Red Hat Package Manager, but now it is known as RPM Package Manager. RPM is the default package manger in Linux Standard Base (LSB). It was originally intended for the Red Hat Linux (which was discontinued in 2004), but it is been used by many other GNU/Linux distributions as well as some other operating systems (e.g. Novell NetWare and IBM AIX). RPM can query, verify, install, upgrade, remove packages and perform other miscellaneous functions. The command to invoke RPM is rpm and the extension of RPM files is also .rpm. Typically, the term RPM is used to refer to both the software and the file type. RPM contains the complied software, while another related SPRM files contain either the source or scripts of the corresponding non-compiled package. Cryptographic verification of RPM packages is allowed through GPG and MD5. Corresponding patch files (PatchRPM and DeltaRPM) can update the software installed by RPM. Furthermore, RPM evaluates dependencies at build-time automatically.
What is Yum?
Yum (Yellowdog Updater, Modified) is a package manger for RPM-compatible Linux distributions. It is actually a high-level wrapper for RPM. It is an open source package manager, which provides command-line capability. However, there are existing tools that can provide GUI functionality to YUM. It is a full rewrite of YUP (Yellowdog Updater), which was developed by Duke. YUM is now being used in Red Hat Enterprise Linux (RHEL), Fedora, CentOS and Yellow Dog Linux (replacing YUP). Automatic update of software is accommodated through yum-updateesd, yum-updatenboot, yup-cron or PackageKit packages. YUM XML repository (collections of packages) is the first of its kind for RPM-based systems.
What is the difference between Yum and RPM?
RPM is a package manager for Linux-based systems, while YUM is package manager utility for RPM-based Linux distributions. In other words, YUM is a frontend (high-level wrapper) for RPM. RPM could be identified as relatively low level, compared to YUM. YUM uses the information in the RPM databases to make it easier to manage all packages stored on the system. In addition to providing a high-level frontend to RPM, YUM adds automatic updates and dependency management. Unlike RPM, YUM offers the ability to work with repositories.
nice!
thanks for giving such an information
Thank you for the excellent, informative and yet easy to understand article I will not be in confusion regarding RMP and YUM anymore.