Click to See Complete Forum and Search --> : GNOrpm... What is it for? Why can't I get the regular RPM command to install?


cheapbastard
03-14-2001, 06:54 PM
This is a duplicate post since no one seems to want to answer it in the "software" forum.

I have been trying to install everything from RPMs to those gzip files and NOTHING is coming of it! I double click an RPM in Gnome, see what looks like an installation progress bar whiz by, and then NOTHING. I can't find the program I just suppositively installed. Also, I use the RPM command from the shell prompt (rpm -ivh squid-2.3.STABLE4-1.src.rpm), something happens, I run RPM command to check if it was installed (rpm -q blah blah blah) and it tells me that nothing has been installed, no matter how I name the program! What the heck is going on here? I have tried installing the package from /root and from /home with the same result. WHY! WHY! WHY!
:confused:

7
03-14-2001, 07:08 PM
Do
find / -name squid

that'll find yer program called squid. normally the programs are stored in /usr/bin or /usr/local/bin, these may not be in your $PATH, so you may not be able to execute them like

# squid

7
03-14-2001, 07:09 PM
I remember having the very same prob. It was sooo feckin annoying!

Kadesh
03-14-2001, 07:36 PM
*.src.rpm is a source RPM. It's more complicated than just rpm -i * . I don't use them much so I've forgotten the commands. They were something like rpm -b * .

I've never double-clicked an rpm in GNOME. Mostly because I hate the file manager and the CLI rpm is easier.

Sweede
03-14-2001, 08:08 PM
what you have is a source RPM file.
you need to rebuild the src.rpm into a binary RPM package.

rpm --rebuild package.src.rpm
rpm -ihv /usr/src/redhat/RPMS/package.rpm

dont download .src.rpm's unless you know what your doing.