Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Programming in Linux _ RPM

Posted by: mavcat18 Jul 30 2006, 04:42 PM

hey guys im new to this forum and linux for that matter so pardon me if this topic has been brought up before. I am trying to install a program on a Linux Red Hat 4 computer connected to an IBM (306 i believe) server. Its a relatively short install, i copy the config.txt file to the computer from CD, modify it, then try to run an file, but when i do it tells me that the .rpm files have not been installed(the .rpm files appear in red when i do the -ls command). i have gone into the GUI to install the files(just less room for error) and went one by one to install them and they all give me a message saying they have been installed however the file still gives me the same error? any help would be appreciated!

Posted by: dishawjp Aug 8 2006, 11:16 AM


The way to tell if a .rpm file has been installed is to give the command:

rpm -q <filename>

For <filename> substitute the short name of the .rpm file. For example, to see if the .rpm file


has been installed, give the command "rpm -q opera"

In this case it should return:

dishawjp@linux:~/download/rpms> rpm -q opera

To install .rpms from the command line, "cd" to the directory that they are located in and type the command (as root):

rpm -Uvh *.rpm

and they will be installed. It's possible that your install shell script has a problem and the .rpms may already be installed. You could try calling the installed programs from the command line to see if they run.



Powered by Invision Power Board (
© Invision Power Services (