how to intall rpms from .tar.bz and .tar.gz and .src.rpms
hello
can any body help me to install rpms from .tar.bz and .tar.gz and .src.rpms. and i want to know where the rpm is installed ( i mean ) on which location.? please send reply by step by step tnx |
For rpms, Most of them can be installed directly from Xwindows..
Right click on that file and try Install Packsages.. For tar.gz, goto the console and type tar -xzf filename.tar.gz |
If you mean building rpms from source packages then take a look at rpm.org and the Fedora rpm developers guide.
|
Read through the man page of the "rpmbuild" command. This is the command you would use to install from a source rpm.
One advantage to installing from a source rpm, is that a pdf, dvi or post script document can be produced from the texinfo source document. |
Sources are required by programmers.. See your requirement and install the source rpm..
|
Yeah www.rpm.org. You'll find to build a rpm you need a understanding of a spec. Not all source comes with a spec file, but you can open a text editor and make one. Learn to make a directory tree for rpm that isnt on your /, so you can make the rpm as a normal user. This will lessen the risk of foobaring your /. It is all at www.rpm.org. You can use the simple macros to make a package, and be sure you understand the rpm database fully. Your distro may have the same program named differently, so thus you'll have 2 versions of the program in the database prolly installed at the same location. If you install a program that needs that prgram. See it can get goofed up. It has been my experience it takes longer to make the rpm as opposed to just compiling it yourself. I try to compile it first looking at the output of configure to see what it actually needs, then I build a package. Sometimes if the source code doesnt have certain devel packages installed it will disable something you want. If that is the case rpmbuild will keep on going building the package with the stuff you actually want. Maybe one day I can like actually know what all these libs do, and not have to do a intitial compile first. But the good thing is if the rpm is built correctly, you'll never have to compile it again.
Dave |
Oops... I need sleep. I am getting lazy.. I reread my post. I hope you understand it. I mean what I actually meant to say lol... Bed time in 2 hrs lol...
Dave |
Quote:
Sorry, But this doesn't work. Why can't Linux have an auto installer? It would make running Linux for the first time user A LOT easier. This makes me want to go back to Windows. WAY TOO complicated for first timers. Thanks |
Quote:
|
to directly answer your question.
for filename.tar.gz, if the developer was kind enough to offer a spec file, you can try as root: rpmbuild -ta filename.tar.gz for filename.tar.bz2 (as root): rpmbuild -ba filename.tar.bz2 If a proper spec file was included, you'll see a bunch of output from configure and make. You should see the built rpm(s) in /usr/src somewhere. for source rpms (filename.src.rpm), you need to rebuild them with this command: rpmbuild --rebuild filename.src.rpm. Again, you should see the built rpm(s) in /usr/src somewhere. If you're using an older distro, like redhat 7.3 or older, substitute rpmbuild with rpm. On a side note, why is this topic polled? :confused: |
It took me two weeks just to download a program called Azureus. Now that I got it, I can't get it installed. I type in this http://www.tuxfiles.org/linuxhelp/softinstall.html (the second section) and nothing happens.
I just don't understand any of this compile and recompile,RPM,SPEC,WTF....is there a dictionary for these. I have no clue on command line stuff. I'm using SuSE 10.0, it was a lot easier to load than Ubuntu was. |
Quote:
|
"CD" it???? I don't understand.... sorry for being a dumbass. With this linux thing there is a BIG learning curve, at least for me. Been on Windows too long, I guess.
|
Quote:
|
All times are GMT -5. The time now is 10:53 PM. |