Hi, I guess it would be easier to think of a tar.gz file as a compressed zip file in windows while an rpm as a more complex installing .exe file on windows but the rpm is for Linux.
Cheers, Aly. Kent Borg wrote: > On Thu, Aug 01, 2002 at 01:30:56PM +0530, Ashwin Khandare wrote: > >>Does anyone knows about any script/tool that can convert tar.gz >>files into rpms? > > > There are certainly tools to help one create rpm files (such as rpm > itself), but there isn't going to be a simple universal converter > because rpm and tar.gz files are not the same kind of things. > > A tar file is nothing be a way to collect a bunch of files into a > single file. A gz file is nothing but a compressed file. A tar.gz > file is a compressed collection of files. > > The files that go into a tar.gz file can be anything. They can be > source code that needs to be compiled (they can be buggy source code > that won't compile!). They can be binary code that is ready to > execute. They can be music, they can be dirty pictures, they can be > forgeign language dictionaries, they can be old e-mail, they can be > seismic data. Anything that you can put in a file you can put into a > tar.gz file, and you can do so on nearly any kind of computer or > operating system. > > A rpm file, by contrast, is explicit details about how to install and > how to uninstall something on a Red Hat Linux computer--along with the > "something". (The tar.gz file is only "something".) rpm files also > include dependency information detailing what the prerequisites are > for some something. > > So I think the question has several (possibly annoying) answers. Pick > one. > > - If you want to install something on your own machine: Find the rpm > file that Red Hat (or someone else responsible) has created, and > install it. > > - If you want to install something on your own machine and there is > no rpm version available: Uncompress and untar the file, and start > looking for a "README" or other instructions on how to install from > that form. > > - If you have some package of your own that you want to distribute to > others as an rpm file: Find someone nerdy who knows all about > making rpm files and have him/er do it for you; or learn a bunch of > groady details about rpm yourself and do it yourself. > > > There might be a tool that can figure out how to take source code that > includes a well behaved "configure" script and well behaved "install" > and "uninstall" Make targets and compile and build you an rpm. Sounds > complicated and like something that would need some expert manual > steps, but maybe someone else knows about it. > > > Hope this was helpful, > > -kb, the Kent who has never make an rpm file. > > > -- Aly Dharshi [EMAIL PROTECTED] System Administrator ORS Servers "A good speech is like a good dress that's short enough to be interesting and long enough to cover the subject" -- redhat-list mailing list Unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list