LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   using rpm to install (https://www.linuxquestions.org/questions/linux-software-2/using-rpm-to-install-58992/)

lawkh 05-09-2003 11:12 PM

using rpm to install
 
I just downloaded the licq version 1.2.6 rpm package, then i start running the rpm -ivh command, then the following comes out:

1:licq #########################100%

i though i had installed it, but when i type rpm -q, it says licq-1.2.6 is not installed.
i thought the #######################100% means it has installed the package already?
can someone help me out, I just started to use linux for a few days only

filth 05-09-2003 11:17 PM

What command are you using to check if licq is installed? If you want to see all packages installed then type rpm -qa | more.
If you only want to see if licq is installed then rpm -q licq-1.2.6 without the .i386.rpm or whatever part at the end.
So if you installed licq by typing rpm -ivh licq-1.2.6.i386.rpm
then to check if its installed type rpm -q licq-1.2.6

It is says its installed then it really should be.

macewan 05-09-2003 11:18 PM

ok. what distro? what version?
redhat 8
redhat 9
redhat 7.2 or 7.3
where did you download from? *provide link so someone else can test it*

TlitJ 05-09-2003 11:31 PM

This might be a dumb question, but did you wait for it to come back to a command prompt and exit out normally? Or when it got to 100% did you exit the terminal in someother way?

Sometimes it takes a while for the command prompt to come back up after it reaches 100%.

You could try it again with the -Uvh option to reinstall it.

rch 05-09-2003 11:32 PM

Re: using rpm to install
 
Quote:

Originally posted by lawkh
I just downloaded the licq version 1.2.6 rpm package, then i start running the rpm -ivh command, then the following comes out:

1:licq #########################100%

i though i had installed it, but when i type rpm -q, it says licq-1.2.6 is not installed.
i thought the #######################100% means it has installed the package already?
can someone help me out, I just started to use linux for a few days only

rpm -q licq should work fine
check if it is a src package

lawkh 05-09-2003 11:37 PM

i am using mandrake 9.0, i downloaded it for rpmfind.com, licq-1.2.6-1mdk.src.rpm

rch 05-09-2003 11:41 PM

Quote:

Originally posted by lawkh
i am using mandrake 9.0, i downloaded it for rpmfind.com, licq-1.2.6-1mdk.src.rpm
src package gets installed in /usr/src/Mandrake
or /usr/src/Redhat
it is usually in tar.gz or tar.bz2 format
untar and decompress it
cd to the directory
do
./configure && ./make && ./make install

lawkh 05-09-2003 11:52 PM

I was trying to config one of the file in the usr/src/RPM but it gives me an error msg saying that C++ compiler cannot create executables.

rch 05-10-2003 03:37 AM

Quote:

Originally posted by lawkh
I was trying to config one of the file in the usr/src/RPM but it gives me an error msg saying that C++ compiler cannot create executables.
I made a mistake.
It should be
./configure && make && make install
(I am getting dumber every minute)


All times are GMT -5. The time now is 03:16 AM.