LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-09-2005, 07:02 PM   #1
stealthgate
Member
 
Registered: Apr 2005
Location: Rochester, NY USA
Posts: 31

Rep: Reputation: 15
How do I install these rpms?


I've just downloaded:

libc5-5.4.46-2.src.rpm
libstdc++-2.95.1_2.10.0-3.i386.rpm
ncurses3-1.9.9e-8.src.rpm

But don't know how to install them. I can't use system-config-packages (i think that's what it's called) to install them by just double-clicking the files. I figure I need to install them from the shell, but I'm sure it needs more than just "-i".

Any help with this would be greatly appreciated.

Or, even better, if someone knows where I can find a copy of Alien that already has these dependencies would be even better.

Thanks
 
Old 05-09-2005, 07:06 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
You most likely already have these installed and you need to upgrade.

First check your rpm database to find out what versions you have already if any:

rpm -qa | grep <string>

So something like:

rpm -qa | grep libstdc

Should give the full output of any libstdc packages installed with the version number. If they are version older than what you have downloaded, a simple:

rpm -Uvh libstdc++-2.95.1_2.10.0-3.i386.rpm

But take notice two of the packages you installed are src rpm's. You have to rebuild them to be able to run the above command. I'd say if your not familiar with installing simple RPM's, then you need to skip the src rpm's and find the actual binary rpm's to install before proceeding into rebuilding rpm's on your system.
 
Old 05-09-2005, 07:08 PM   #3
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,145
Blog Entries: 6

Rep: Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832
rpm -ivh libc5-5.4.46-2.src.rpm

that .src.rpm is source code and won't install software. It will install the source code.
You'll need to be root to install. What distro are you using? You may be able to yum or apt-get software with all depedencies resolved.
 
Old 05-09-2005, 07:13 PM   #4
stealthgate
Member
 
Registered: Apr 2005
Location: Rochester, NY USA
Posts: 31

Original Poster
Rep: Reputation: 15
Thanks for the instructions, but I'm actually trying to get these so I can run alien to convert my isp debian package to rpm so I can install my internet software. In other words, I'm using the net from my Windows partition and don't have any internet support for my linux, so I won't be able to get those packages that way.

I've tried to install Alien but it gives me dependency errors whose files are included in the packages I'm trying to get. I'm using fedora core 4 test 2, so maybe its the system thats giving me the trouble.
 
Old 05-09-2005, 09:27 PM   #5
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
There is another app which can convert between deb/rpm/slackpack. It's called checkinstall.

Basically, with checkinstall running, you invoke checkinstall as part of the command to install a package (such as deb) and instruct checkinstall as to what kind of package you want in the end (rpm).

Checkinstall will go through the motions of compiling and installing, and leave you with an installable binary of the chosen type, which you install in the normal manner for that package.

It works with tarballs as well.

Another alternative I like when faced with installing from source tarball, and wanting to be able to upgrade in the futute, is encap (more specifically, the epkg part of encap) which allows me to install a tarball to a specific location, symlink to the directories a tarball would normally be installed in, and later upgrade the installation when a newer version is released.

Stow is supposed to work in a manner similar to encap, but I've not been able to get it to work, as yet.

Since you're using Debian, isn't apt doing the job it's supposed to do?

As far as the .src.rpms are concerned, if you're not averse to learning (the hard way), go to the Red Hat website and navigate through the Documentation links. Find Max-rpm. It's available on-line or downloadable. Read about source rpms and how to install and build binary, installable rpms from them.

Last edited by bigrigdriver; 05-09-2005 at 09:34 PM.
 
Old 05-10-2005, 11:43 AM   #6
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 57
Does your ISP really only give you debs? I would ask your ISP for a tarball, RPM or (ideally) an autopackage. Providing only debs is most irregular.
 
Old 05-10-2005, 03:52 PM   #7
stealthgate
Member
 
Registered: Apr 2005
Location: Rochester, NY USA
Posts: 31

Original Poster
Rep: Reputation: 15
thanks for all the replies guys.

I'm going to check out checkinstall and see how that works out for me. I'm actually using Fedora core 4 as my distro and yeah, my ISP only offered a deb for its software. I'm actually a NetZero user, and maybe I can find a rpm package of this somewhere else?
 
  


Reply



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
cant install rpms, WHY? secret_squirrel SUSE / openSUSE 1 04-24-2005 06:39 PM
RH 9 rpms will not install l4azyslaxxor Linux - Newbie 8 06-17-2004 03:58 PM
where do the rpms install ooagentbender Linux - Newbie 3 12-16-2003 04:19 AM
please help i cant install rpms mothman Linux - Newbie 4 10-03-2003 01:56 PM
rpms don't install i_is_cat Linux - Software 1 06-15-2003 06:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration