HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- questions about RPM
Operating System - Linux
1829223
Members
2227
Online
109987
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2006 11:41 AM
04-21-2006 11:41 AM
questions about RPM
I hope that this is the right place to ask...
I am learning RPM and have a few questions
1. what is the difference between provides and requires?
2. by default, rpm build reads ~/.rpmrc
can it be different name? how do I specify?
I am learning RPM and have a few questions
1. what is the difference between provides and requires?
2. by default, rpm build reads ~/.rpmrc
can it be different name? how do I specify?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2006 12:00 PM
04-21-2006 12:00 PM
Re: questions about RPM
Mm, RPM building can be fun.
1) 'Provides' means that this RPM will provide a given service or library. It is usually generated automatically during the last stages of 'rpmbuild'. You can add additional statemens in your SPEC file to create an artificial dependency tree (i.e. Provides: WebServer).
The 'Requires' is opposite of 'Provides'. This states that to install the RPM, it Requires something Provided by another RPM. This also is usually generated automatically during the late stages of 'rpmbuild'. Once again you can ... blah blah..
2) '--rcfile' is your friend.
-- Scrape from man page --
--rcfile FILELIST
Each of the files in the colon separated FILELIST is read sequentially by rpm for configuration information. Only the first file in the list must exist, and tildes will be expanded to the value of $HOME. The default FILELIST is /usr/lib/rpm/rpmrc:/usr/lib/rpm/red- hat/rpmrc:/etc/.rpmrc:~/.rpmrc.
1) 'Provides' means that this RPM will provide a given service or library. It is usually generated automatically during the last stages of 'rpmbuild'. You can add additional statemens in your SPEC file to create an artificial dependency tree (i.e. Provides: WebServer).
The 'Requires' is opposite of 'Provides'. This states that to install the RPM, it Requires something Provided by another RPM. This also is usually generated automatically during the late stages of 'rpmbuild'. Once again you can ... blah blah..
2) '--rcfile' is your friend.
-- Scrape from man page --
--rcfile FILELIST
Each of the files in the colon separated FILELIST is read sequentially by rpm for configuration information. Only the first file in the list must exist, and tildes will be expanded to the value of $HOME. The default FILELIST is /usr/lib/rpm/rpmrc:/usr/lib/rpm/red- hat/rpmrc:/etc/.rpmrc:~/.rpmrc.
One long-haired git at your service...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2006 12:31 PM
04-21-2006 12:31 PM
Re: questions about RPM
the "requires" tag is easier to understand.
what's about the RPM with "provides" tag, giving away services, under what condition should it fail?
what's about the RPM with "provides" tag, giving away services, under what condition should it fail?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2006 12:45 PM
04-21-2006 12:45 PM
Re: questions about RPM
is there anyway, I can tell rpm to take different rpmmacros ?
other people and I share one account. they often overwrite my .rpmmacros file. how can I tell rpm to take a specific .rpmmacros file?
thank YOU
other people and I share one account. they often overwrite my .rpmmacros file. how can I tell rpm to take a specific .rpmmacros file?
thank YOU
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP