In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the "detailed introduction of RPM package knowledge points". In daily operation, I believe many people have doubts about the detailed introduction of RPM package knowledge points. Xiaobian consulted all kinds of materials and sorted out simple and easy operation methods. I hope to help you answer the doubts of "detailed introduction of RPM package knowledge points"! Next, please follow the small series to learn together!
RPM: smallest software unit
The "versions" and "flavors" available to users (spins / labs / silverblue) are very similar. They are all made up of software that is mixed and matched to work well together. They differ in the specific tools they put into them. This choice depends on the use case for which they are intended. The basic building blocks for all of these "versions" and "flavors" are RPM package files.
RPM files are archive files similar to ZIP files or tarballs. In fact, they use compression to reduce the size of archive files. However, in addition to files, RPM archives contain metadata about packages. You can use the rpm tool to query:
$ rpm -q fpastefpaste-0.3.9.2-2.fc30.noarch $ rpm -qi fpasteName : fpasteVersion : 0.3.9.2Release : 2.fc30Architecture: noarchInstall Date: Tue 26 Mar 2019 08:49:10 GMTGroup : UnspecifiedSize : 64144License : GPLv3+Signature : RSA/SHA256, Thu 07 Feb 2019 15:46:11 GMT, Key ID ef3c111fcfc659b9Source RPM : fpaste-0.3.9.2-2.fc30.src.rpmBuild Date : Thu 31 Jan 2019 20:06:01 GMTBuild Host : buildhw-07.phx2.fedoraproject.orgRelocations : (not relocatable)Packager : Fedora ProjectVendor : Fedora ProjectURL : https://pagure.io/fpasteBug URL : https://bugz.fedoraproject.org/fpasteSummary : A simple tool for pasting info onto sticky notes instancesDescription :It is often useful to be able to easily paste text to the FedoraPastebin at http://paste.fedoraproject.org and this simple scriptwill do that and return the resulting URL so that people mayexamine the output. This can hopefully help folks who are forsome reason stuck without X, working remotely, or any otherreason they may be unable to paste something into the pastebin $ rpm -ql fpaste/usr/bin/fpaste/usr/share/doc/fpaste/usr/share/doc/fpaste/README.rst/usr/share/doc/fpaste/TODO/usr/share/licenses/fpaste/usr/share/licenses/fpaste/COPYING/usr/share/man/man1/fpaste.1.gz
After installing the RPM package, the rpm tool knows exactly which files have been added to the system. Therefore, deleting the package also deletes these files and keeps the system in a consistent state. This is why it is important to install software using rpm whenever possible, rather than installing software from source code.
dependencies
Completely independent software is rare these days. Even fpaste, a simple single-file Python script, requires a Python interpreter installed. Therefore, if Python is not installed on the system (almost impossible, but possible), fpaste cannot be used. In packager terms,"Python is a runtime dependency of fpaste. "
When an RPM package is built (the process of building an RPM is not discussed in this article), all of this metadata is included in the resulting archive. In this way, tools that interact with RPM package archives know what else must be installed for fpaste to work:
$ rpm -q --requires fpaste/usr/bin/python3python3rpmlib(CompressedFileNames) = 0.14.0python3.7dist(six) >= 1.10.0rpmlib(CompressedFileNames)
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.