LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-04-2004, 05:08 AM   #1
mobyuk
LQ Newbie
 
Registered: Jun 2004
Location: Essex UK
Distribution: Red Hat
Posts: 5

Rep: Reputation: 0
Can't install a RPM package


Wonder if you can help me.

A long story, but I shall try to truncate.

I am running Red Hat 9 with Gnome 2.0 and wish Linux to recognise my Alcatel Speedtouch ADSL USB Modem.

I went to the HCL on this site and got a very nice link to (I can;t put in opn here as I have not posted 5 posts, but it is under HCL/Modems/Alcatel/Speedtouch and followed the instructions to the letter.

I am sure it would have worked, but when I ran the script, it complained that GCC was not installed.

Not wishing to be the stumbling newbie, I looked up what GCC was, and found it is a compiler, that is an optional install in Red Hat 9. Good news. Inserted the Red Hat 9 install disks, and clicked development tools, and asked to install GCC, is runs for a while, checks existing packages, then asks for Disk 2. I insert disk 2, then is comes back and says install failiure.

I then browsed the disc 2 manually, and found GCC in RPM formet, so tried to open the RPM directly from disc 2. Same issue, checks current packages, then does nothing.

I thought "maybe there is a prob with disc 2" so copied into home directory and tried to open from there. Sam again, checks current packkages then does nothing.

My final attempt, was to download the latest GCC RPM from the net, and place that into home, and run it from there. Guess what? Same again, check packages then does nothing.

Ina nut shell, how the hell do I install a RPM in RedHat9? Am I doing something wrong? Can you not just OPEN a RPM file? Is there a RMP manager (I looked but could not see one)?

Thanks in advance

Mobyuk
 
Old 06-04-2004, 05:53 AM   #2
sbogus
Member
 
Registered: May 2004
Location: Germany, Munich
Distribution: SuSE Pro Releases 7.3, 9.0, CentOS 4.0, Kubuntu 6.0x
Posts: 103

Rep: Reputation: 15
Hi mobyuk,

Quote:
Ina nut shell, how the hell do I install a RPM in RedHat9? Am I doing something wrong? Can you not just OPEN a RPM file? Is there a RMP manager (I looked but could not see one)?
I'm not sure I do correct understand your question regarding "just OPEN a RPM file". RPM is a special format do bundle an installabale package. The RPM-based OSes, such like RedHat, SuSE, Fedora and etc., come with one standard RPM manager called [/B]rpm[/B]. Typing from a console the command man rpm will give you alot of information about what and how the RPM manager works. There's another advanced RPM manager called apt4rpm, but it is not a standard distribution package and it might be needed to download it from the INet.

Now to your primary question regarding the GCC installation. Checking GCC's package alone does not satisfy the requirements of the dependancy the GCC has. It depends on many other packages and compiler utilities. If you has the option, check in your RedHat Setup application the option "Automatic check/resolve dependancies". The option should sound alike, I do not have RedHat, and thus do not know how the Add/Remove Software manager is really called.

If a RPM package has unresolved dependancies, when it is about to be installed, the installation will fail of course. You might want to try this command line and then post the results here. Probably you have problem with brocken package dependancies, so the output of the rpm command will be helpful.

Open a console and there logged in as root (type su -) type this command (for example)
rpm -Uvh gcc-3.2.1-i586.rpm

Of course, you might replace the gcc-3.2.1-i586.rpm name with whatever name has your GCC package.

RPM will give you feedback on what it does and what went wrong in case something went wrong.
Post here the output of that command.

Kind regards,
sbogus
 
Old 06-04-2004, 01:46 PM   #3
mobyuk
LQ Newbie
 
Registered: Jun 2004
Location: Essex UK
Distribution: Red Hat
Posts: 5

Original Poster
Rep: Reputation: 0
Sbogus,

Thanks for your advice. It worked!

Being the newbie that I am, I thought you could just double click (or right click and click open) on a RPM package using a file browser.

Guess I am still too Windowish!

When running rpm -Uhv {filename.rpm} as root it worked like a dream.

Once again, I am very grateful, for the helpful and friendly Linux community that exists, and will help other newbies when I grow up (if ever)!

Cheers

Mobyuk
 
Old 12-11-2008, 05:24 AM   #4
olawa20
LQ Newbie
 
Registered: Dec 2008
Posts: 1

Rep: Reputation: 0
Hi,
Please I am also trying to use the solution provided here and i get an error:

]# rpm -Uvh FreeWnn-devel-1.10pl020-6.i686.rpm
error: Failed dependencies:
FreeWnn-libs = 1:1.10pl020-6 is needed by FreeWnn-devel-1.10pl020-6.i686

I try to install the package it seems to be requesting for and i get a similar error

]# rpm -Uvh FreeWnn-libs-1.10pl020-6.i686.rpm
error: Failed dependencies:
FreeWnn-libs = 1:1.10pl020-5 is needed by (installed) FreeWnn-devel-1.10pl020-5.i386

Please I am a newbie too, what should i do?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install rpm package manager? :))) sawran Linux - Software 3 04-18-2005 07:04 AM
I can't install with RPM package. PICOspark Linux - Newbie 8 04-06-2005 06:40 AM
install rpm package from other distributions xround Red Hat 5 08-31-2004 01:54 PM
Install package with RPM nobyone Linux - Newbie 4 04-01-2004 10:50 AM
Not able to install rpm-build package deepika Linux - Newbie 2 07-19-2003 09:45 PM


All times are GMT -5. The time now is 10:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration