- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: RPM question
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО01-28-2004 09:20 PM
тАО01-28-2004 09:20 PM
Re: RPM question
I want to unpack things, put them in different places, modify some configuration files ...
As far as I know, it's too complicated for tar. If it was HPUX (I work on HPUX) I could build software depot and in linux I thought that it's gonna be rpm, correct me if I'm wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2004 09:47 PM
тАО01-28-2004 09:47 PM
Re: RPM question
if you make you tar from /
and add /etc/xinetd.d/telnet (just for example-nothing personal) to it.
Then when you unpack the tar while standing in / it will put it's file in exact the same location, i.e. in /etc/xinetd.d
So it's able to change configuration files...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2004 09:55 PM
тАО01-28-2004 09:55 PM
Re: RPM question
Use rpm if you really want to install programs, that is to say not only replace files, but add parameters to conf files or modify parameters, search for libs and so on...
If it's what you are looking for, then back to your prob. Otherwise tar is easy, except that it won' serach for files in different paths than the one you packed from.
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2004 10:05 PM
тАО01-28-2004 10:05 PM
Re: RPM question
And ofcourse the remove thing.
The person who uses my tar, never knows what it does, but if its rpm I can rpm -e it and it will remove it all, right?
(I'm totaly new to linux administration, so I'm sorry for the noob questions:-) )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2004 12:16 AM
тАО01-29-2004 12:16 AM
Re: RPM question
Rpm is a convenient way to automatize installs and to put all the stuff in a all in one file. If you look at the freshrpms link above, you'll see that in the spec file the process looks much like as in a tarball, with make & make install.
If you know how to program a little exec file that would do the stuff you need, then you can use rpm to pack it and distribute it.
But rpm is not designed to do these things by itself.
So first step would be there : setting the program you need as if you could install it manually by a make install, then make from it an rpm...
hth
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2004 12:16 AM
тАО01-29-2004 12:16 AM
Re: RPM question
Rpm is a convenient way to automatize installs and to put all the stuff in a all in one file. If you look at the freshrpms link above, you'll see that in the spec file the process looks much like as in a tarball, with make & make install.
If you know how to program a little exec file that would do the stuff you need, then you can use rpm to pack it and distribute it.
But rpm is not designed to do these things by itself.
So first step would be there : setting the program you need as if you could install it manually by a make install, then make from it an rpm...
BTW, this is by no mean a noob question :]
hth
J
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2004 12:30 AM
тАО01-29-2004 12:30 AM
Re: RPM question
I'll use only %files, %pre, %post, %preun and %postun derictives in my spec file.
To unpack files, modify the system configurtaion as installation and deleteing files, modifying the system back as uninstall ...
Let's hope that bash on linux is the same bash we have on HPUX :-)
Thanks you all for your help!
- « Previous
-
- 1
- 2
- Next »