In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "the method of distinguishing rpm and yum tools of Linux system". In daily operation, I believe that many people have doubts about the method of distinguishing rpm and yum tools of Linux system. The editor has consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "the method of distinguishing Linux system rpm and yum tools". Next, please follow the editor to study!
Many users often confuse rpm and yum under the Linux system. They have similar names, the same functions, and can be used to install software, so what's the difference between the two? The following editor will teach you how to distinguish between rpm and yum in Linux.
The difference between yum and rpm
Rpm is a software package management mode developed by Red Hat Company. Using rpm, we can easily install, query, uninstall and upgrade the software. However, the dependency between rpm packages is often tedious, especially when the software is composed of multiple rpm packages. Yum (Yellow dog Updater, Modified) is a Shell front-end package manager in Fedora and RedHat as well as in SUSE. Based on RPM package management, RPM packages can be downloaded and installed automatically from designated servers, dependencies can be automatically handled, and all dependent software packages can be installed at once without having to download and install them again and again.
Rpm in Linux
English original meaning: RPM Package Manager
English interpretation: RPM package manager
Note: a packaging and installation tool for downloading packages from the Internet, included in some Linux distributions. It generates files with the .RPM extension.
RPM is the abbreviation of RedHat software package management tool. Although the file format name is marked with the logo of RedHat, its original design concept is open, which now includes OpenLinux, S.u.S.E. As well as Turbo Linux and other Linux distribution versions have been adopted, can be regarded as the industry standard for workers.
RPM files are the easiest to install on Linux systems. Take the famous image processing software XV as an example, its RPM package xv-3.10a-13.i386.rpm can be downloaded from the program's home page http://www.trilon.com/xv.
In Termina, the basic installation instructions are as follows:
Rpm-I xv-3.10a-13.i386.rpm
If your networking speed is fast enough, you can also install information on all RPM program components directly from the network. We can also use RPM to uninstall related applications.
Rpm-e xv
Other common parameters of RPM include:
-vh: displays the installation speed
-U: upgrade package
-qpl: lists the annoying file information in the RPM package
-qpi: lists the description of the RPM software package
-qf: finds which RPM package the specified file belongs to
-Va: check all RPM packages to find missing files
Yum in Linux
What is yum?
Yum=Yellow dog Updater,Modified 111cn.net
The main function is to make it easier to add / remove / update RPM packages
Advantage: it can automatically solve the problem of package dependency.
It is easy to manage a large number of system update problems.
II. Characteristics of yum
L multiple repositories can be configured at the same time
L concise configuration file
Automatically resolve dependency issues encountered when adding or deleting rpm packages
L easy to use
L maintain consistency with RPM database
III. Yum installation
Fedora comes with
# rpm-ivh yum-2.0.4-2noarch.rpm
IV. Yum application
Check for updatable rpm packages
# yum check-update
Install the rpm package so that xmms can play mp3
# yum install xmms-mp3
Install mplayer and automatically install the relevant software
# yum install mplayer
Delete the licq package and delete the package that is dependent on the package
# yum remove licq
Note: you will also be prompted to delete the licq-gnome,licq-qt,licq-text.
System updates: (update all upgradeable rpm packages, including kernel)
# yum-y update
Perform system updates regularly every day
# chkcongig yum on
# service yum start
5. Detailed explanation of yum instruction
* updates to the rpm package
Check for updatable rpm packages
# yum check-update
Update all rpm packages
# yum update
Update specified rpm packages, such as kernel and kernel source
# yum update kernel kernel-source
Large-scale version upgrade, unlike yum updater. Even the old obsolete packages are upgraded.
# yum upgrade
At this point, the study on "the method of identifying rpm and yum tools in Linux systems" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.