Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 184.108.40.206, KDE 3.5.8 and KDE 4.0 beta, Plu
The only way I really know how to do it is if the source file contains a spec file. If it does then the spec file from the source needs to be placed in /usr/src/redhat/SPECS and then the source file as is no extraction of it, to /usr/src/redhat/SOURCES. Then run the command ' rpmbuild -ba /usr/src/redhat/SPECS/name_of_spec_file.spec '. When it is done the rpm will be located in /usr/src/redhat/RPMS/i386.
I usually test it first by building from the source and if the source builds okay and a spec file exist I will build the rpm and install that. Most builds work like this, but the readme or install text files explain what to do, run ./configure, then make. If all works then build an rpm loike above.
Not all sources packages can be built into rpms without writing your own spec files (I usually borrow from others if its a commaon package). You can take a look at rpm.org and your distros developers guide for how to create rpms that will work properly on that distro.