Operating Systems > Linux and UNIX

Installing in Red Hat

<< < (5/6) > >>

dishawjp:
Once again, thanks.  Bob, to answer your question, the program is just a stupid little game I downloaded.  It's called Icebreaker. You're supposed to save some penguins or something. I'm doing this just for practice; to help me learn Linux.  If there were a way to do it by double clicking on an icon, that's not the way I would want to do it now.  

I probably screwed myself by picking a bad file to play with.  There was no configure file after I expanded (right word?) the .tgz file.  The README just talked about how to play the game, and the INSTALL file was about 2 sentences which were no help to me at all.  It mostly talked about doing a rpm install and there were no .rpm files in the package.  MoR/Bob, the site you pointed me to is excellent.  I'm beginning to build an excellent library of internet resources for Linux thanks to you people here.  I'm updating my web page now.  Originally it was a sort of pro-DOS anti-Windows page, but I'll make it more of a pro-command line, anti-Windows page.  I hope to be able to incorporate these links I've been provided with into some coherent form to help me and other newbies wade through the complexities of Linux.

Thanks again for all the help.  I'll probably have to give up on this particular program, and try to download and install a different one.

Void Main, after I finally successfully install this type of a package, I'll be moving on to .rpm formats. I'm doing all this just to learn.  Maybe someday I'll be able to help other Linux newbies. With WinXP out there, there should be lots of Linux newbies soon :)

Jim

Calum:
if you want to download and install a silly little game, then get xbill. it is very very good, is small and simple, there's an rpm available for it (which you can install at the command line) and i am sure it is open source, so you could get a .tgz file of it too. i also know that it comes as windows binaries in a zip file.

also, once you have this game, you need not get any other games for linux.  ;)

i think red hat actually include this on their distro, so if you use red hat, you might already have it installed, which kind of spoils the fun a bit...

dishawjp:
Sorry All, B

But I guess I really am an idiot.  I gave up on icebreaker, downloaded dopewars as a .tar.gz file.  No problem.  It installed and runs and everything is great.  The ./configure and make and make install all worked fine.  So I decided to try a few simpler things and got some .rpm files.  In particular, I got Icebreaker and xbill as .src.rpm's . I tried the "rpm -Uvh (filename)" on both of them, and no luck.  Red Hat whined a bit about permissions, so I tried the "su - root" and did it again and it sort of croaked and did a lot of nothing.  No unpacking or anything.  Also no executable file found by "find."

I got both of these files from rpmfind.net, but neither would install.  For giggles, I did type gnorpm at the command line and some sort of a GUI thing started up.  I didn't know what to do with it and really don't like GUI interfaces much anyway, so I jussst shut it down.  

Anyway, three of my former students took me out tonight for wings and beer. After four hours in a bar with them, maybe the problem is with me and not with Linux or the downloads.  

Darned kids getting us poor old men drunk and all; have they no shame :)

Anyway, consider this a progress report. I can now download and unzip and untar programs, but now can't install a simple .src.rpm file.  As braindead as this sounds, it is progress for me.  

Damn! Out of beer!  Need to run downstairs for another beer (or three).  Thanks everyone for all your help.   I'll get this Linux stuff yet... even if I have to drink all the beer in the northeast US to do it :)

Jim

voidmain:
It's all in the name.  *.src.rpm is a "source" RPM.  The "rpm -Uvh" command is meant for an installable binary RPM (*.i386.rpm, etc).  But if you wanted to actually use the source rpm to build the binary RPMs and then automatically install the freshly build RPM you would:

# rpm --rebuild xbill.src.rpm

If you would have downloaded the binary RPM (xbill.i386.rpm for example) you would use this command:

# rpm -Uvh xbill.i386.rpm

Now in order to install the source RPM in the way I mentioned in the first example you must have the appropriate development tools installed and the rpm-build RPM must also be installed.  The best way to test if you have everything necessary to manipulate *.src.rpm files is to just try the first example. If it gives you an error let me know and I can help you get the necessary things installed.

A side note, if you wanted to just unpack the source RPM and perform individual steps (prep, compile, build, install) separately you would install the RPM like so:

# rpm -i xbill.src.rpm

Which will put the source under the /usr/src/redhat/SOURCES directory and it will put a file in /usr/src/redhat/SPECS called "xbill.spec".  Change into the /usr/src/redhat/SPECS directory and do a:

# rpm -bb xbill.spec

which will build the xbill.i386.rpm file and place it in /usr/src/redhat/RPMS/i386 directory after it installs it. This is all assuming you are on an i386 architecture. For more info on these build options do a "man rpm" and toward the bottom of the page search for the "BUILD OPTIONS" section.

rtgwbmsr:
Similar Problem:
I can't get SDL-perl to install.
I type:/home/Dustin/Perl/configure
It says: ""Makefile.PL": No such file or directory"

Meanwhile the file is right there in the same directory...WTF?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version