Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need to create an rpm, to decrease time consuming in installations of minor packages. I googled many sites in which they are going theoretically(of course, it should be in that way). Could anyone help me in this regard about what is the step by step process in practical?
my situation is i have the subversion tar.gz file with me. when am trying to build spec file initially am getting the following errors...
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)
1. the exact name of the tar file u have,
2. the exact steps you followed to get the above errors..
hi...
1.exact name of the file: subversion-1.6.6.tar.gz
2.
a.I copied the tar file to /usr/src/packages/SOURCES
b.copied the subversion.spec to /usr/src/packagages/SPECS
c.edited the .spec file @name, version, release and source
d.and executed rpmbuild -ta subversion-1.6.6.spec
For every product that you download you will get a README file or INSTALL file or anything similar to this for getting started.
I downloaded alien source and unzipped it i got followin INSTALL FILE
which is pretty simple for any one to understad and follow.
After installation you can use
Code:
alien -r <ur pkg name>
TO conver your pkg to RPM..
For additional info
Code:
man alien OR
alien --help
Hope this helps...
YAHOOOOOO...UREKA....
It worked and no arch rpm is generated....
But am not satisfied as I used a third party for that.
I couldn't understand why it isn't worked with 'rpmbuild' to generate the rpm..it makes me unhappy for failing to do it with the original way...
Any way..
THANK YOU ANISHA & VINAY...you are awesome...
am rushing to experiment with that rpm on my SUSE10.3
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.