LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install RPMs? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-rpms-96225/)

gmichel 09-24-2003 05:36 AM

How to install RPMs?
 
Hi!

I have tried to install 3 RPMs I downloaded from the Internet and after clicking on the Package which I suppose would install it, each time there is a notice saying that there are missing files I need to install first (libDCOP.so.1, libdecore.so.r, etc....)

I do not have a clue on where to find these missing files as they appear not to be on my Red Hat v.8 system.

I would like to know also what is the procedure to upgrade to Red Hat v.9 smoothly.

Thank you for your help.

Michel

boby_george 09-24-2003 07:32 AM

Hi gmichel,
The reason you were not able to install the rpm was because the dependencies for the installation were not satisfied. You can search for the missing files by running the following command after switching user to root
find / -name filename
And if you find that those files that were reported missing are indeed present then you can install the rpm by running the following command
rpm -ivh rpmname --nodeps
but be sure that the dependent files exist, if not even though the installation completes the program may not run optimally.

All the best!

Boby

UltimaGuy 09-24-2003 07:47 AM

Give the name of the file you want to install and we can walk you through the procedure of installin it....

gmichel 09-26-2003 09:52 AM

Details of the missing files.
 
Hi,

I tried to locate the files on my system but with no success. On the 3 RPMs packages I am trying to install, below are the detail of the missing files.

Wine-991212-1.i386.rpm
Unlocatable package
>>bncurses.so.4
Required by wine

Rekall-0.6-1_tkc_rh71.i386.rpm
Unlocatable package
>>libDCOP.so.1
>>libkdecore.so.3
>>libkdefakes.so.3
>>libkdesu.so.1
>>libkdeui.so.3
>>libkfile.so.3
>>libkio.so.3
>>libkparts.so.1
>>libksycoca.so.3
>>libqt.so.2
>>libxbase-2.0.so.0
>>libxbsql.so.0
Required by rekall

Banal-0.10-1.src.rpm
The file is 125.9K and nothing happen when I click on the RPM or install at the command line.

Thank you for your help.

Michel

:scratch:

snatale1 09-26-2003 04:16 PM

Download apt-get and synaptic It will download/install MOST anything you need and take care of the dependencies.

gmichel 09-28-2003 04:32 AM

Hi,

I finally got myself a book with Red Hat Linux 9 CDs and started to update. It went OK (3 hours) except that Openoffice.org was not installed in the process. When I try to install the package it says that 2 files are missing... openoffice-libs=1.0.1-8 and openoffice-i18n=1.0.1-8 AGAIN!!!

These 2 files are listed in the book as being in the distribution but I can't find them in the 3 CDs.
I went to the openoffice.org site but didn't find any.

WHY is that so difficult???

I am trying to have a look at synaptic as it has been suggested and hope this will solve my problems. I haven't tried again to install te previous RPMs and thanks all those who can give me any imput with simple words and command for the Newb I am.
Thanks.

Michel.

chii-chan 09-28-2003 07:09 AM

Most of the time I download rpms from rpmfind.net. You can find the missing files whether it is full package or part of it (such things like xxx.so.4). And also make sure that the rpm matches your distro. You can also use 'rpm -q --redhatprovides/requires package/missing files' to check whether the missing files are on RedHAt cds. Try rpm -q --help also. Anyway, I also had lots of problems installing rpms when I started using Redhat (mine 9.0). You'll get used to this "dependencies hell" later.;) Yeah, don't double click on the .rpms, use terminal.

gmichel 09-28-2003 08:05 AM

Hi!

Thank you for your help, I found the packages on the Internet but it's going to take me ages to download that at 3 KB per sec...

I'll try to find them on the cds as you said, where they are supposed to be.

I downloaded Synaptic and also try to install it:
>> Installation should be straightforward. Just type:
./configure; make; su -c 'make install'

It's what they said, but it does not work for me! I have the feeling to be a complete idiot...

Michel

gmichel 09-28-2003 10:37 AM

Hi!

I finally succeeded to install openoffice :p
In fact, the openoffice-libs=1.0.2-4 and openoffice-i18n=1.0.2-4 were already installed in the system and came from the CDs when I upgraded from Red Hat 8 to Red Hat 9. How come the package manager in Red Hat 9 was asking for the 1.0.1-8 version that I suppose was there before uprade???
I entered the line: rpm -Uvv --nodeps packagename

Now I am a little bit disappointed not to have version 1.1 in the last Red Hat version :confused:

I am downloading it right now and will try an upgrade.

Thanks to all for your help.

Michel
:newbie:

chii-chan 09-28-2003 08:09 PM

Quote:

Originally posted by gmichel
Hi!

I downloaded Synaptic and also try to install it:
>> Installation should be straightforward. Just type:
./configure; make; su -c 'make install'

It's what they said, but it does not work for me! I have the feeling to be a complete idiot...

Michel

everybody should have that problem when the started using linux. It's just a matter of experience. Just try to install tar.gz program as many as you can, and you find that some of them work then you'd be glad to have them installed anyway.

lectraplayer 09-28-2003 08:30 PM

I'm trying to install WINe as well. Also try the Tarbal version. It has been telling me EXACTLY what it has wanted. IE: it has told me to get YACC or Bison, and I'd find that fairly easily. After I got that in, it asked for Flex. I'm about to put that in. It has actually posted "Flex not found".

Also, I have heard nothing but garbage about RedHat. Another flavor might be worth considering. I myself have had trouble with RedHat when Mandrake tore right through those problems without noticing them.


All times are GMT -5. The time now is 06:00 AM.