Re: Using rpm as installer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi James

Thanks for reply...
So what I need to do is :

1 - tar (zip) all the executable and config files
2 - Copy the zipped file to /usr/src/redhat/SOURCES
3 - Write the .SPEC file which contains only
        Header, PREP( which will only contain scripts to unpack the zipped
file) which I will presume will put it into /usr/src/redhat/BUILD directory
4 - Write install scripts in %install section to copy the files into the
correct directories

Now is the above process correct?
And by the way do I need to have the %file section and which  files should
go there..
I will appreciate a quick response as it is an urgent problem for me..!

Looking forward to hear from you soon.

Regards

Ali
----- Original Message ----- 
From: "James Olin Oden" <joden@xxxxxxxxxxxxx>
To: "RPM Package Manager" <rpm-list@xxxxxxxxxx>
Sent: Sunday, March 21, 2004 3:00 PM
Subject: Re: Using rpm as installer


> On Fri, 19 Mar 2004, Chris Jones wrote:
>
> >
> > Hello;
> >
> > On Fri, Mar 19, 2004 at 11:02:13PM -0000, AliN wrote:
> > > Hi,
> > >
> > > I am new in Linux and rpm so I need a big help.
> > >
> > > I want to use rpm as just a software installer...
> > >
> > > I have a binary executable with some configuration files which
executable
> > > program needs when running...
> >
> > Write a .spec file.
> > Build the rpm.
> >
> > A good start can be found on the rpm.org website:
> >
> > http://www.rpm.org/RPM-HOWTO/
> >
> > All you have to do is not include the configure, prep, build
> > etc.. parts and just make sure it packages up everything.
> >
> > If you aren't going to be doing this I don't see why you
> > save yourself some trouble and just tar up the binaries.
> >
> Because he still gets dependency checking and files that are tracked via
> the rpmdb so he can run "rpm -V hispkg" on the installed system, and
> things like that.  There are two things rpm does pretty well:
>
> - reproducible builds
> - configuration management of systems.
>
> He only wants the second.
>
> Cheers...james
> > Your call though.
> >
> > -=cj
> >
> >
>
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list
>


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux