LinuxQuestions.org
Review your favorite Linux distribution.
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 09-04-2007, 08:45 PM   #1
esmith
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
Question Help needed!!!! Bynari and ubuntu


Ok, Forgive me now because I am very new to the linux environment. I have a major problem (in my mind that is) I am trying to load a rpm file thru the root console. the error I get is as follows:

# rpm -ivh /home/administrator/Desktop/insightserver-4.3.1-8774.i386.rpm
error: Failed dependencies:
libstdc++.so.5 is needed by insightserver-4.3.1-8774.i386
/bin/sh is needed by insightserver-4.3.1-8774.i386

I have also tried to load the same program in a deb file but still not happening. I know I am doing somthing wrong but what is it.

Please help!!!!

Last edited by esmith; 09-04-2007 at 08:46 PM.
 
Old 09-05-2007, 02:08 PM   #2
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
Quote:
Originally Posted by esmith View Post
Ok, Forgive me now because I am very new to the linux environment. I have a major problem (in my mind that is) I am trying to load a rpm file thru the root console. the error I get is as follows:

# rpm -ivh /home/administrator/Desktop/insightserver-4.3.1-8774.i386.rpm
error: Failed dependencies:
libstdc++.so.5 is needed by insightserver-4.3.1-8774.i386
/bin/sh is needed by insightserver-4.3.1-8774.i386

I have also tried to load the same program in a deb file but still not happening. I know I am doing somthing wrong but what is it.

Please help!!!!
For debian, you google debian packages,
enter the file you need, then see it ...
http://packages.debian.org/search?se...table&arch=any
then apt-get
and you've got the missing file.
 
Old 09-05-2007, 02:08 PM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
If you can find a deb file by any chances, don't use rpm. rpm files are for RedHat/Fedora distributions and their relatives (SuSE, Mandriva, ...) Ubuntu is based on Debian, and uses Debian's package system (.deb files).

To install a deb file
Code:
sudo dpkg -i filename.deb
This tries to install the given deb file, if all the dependencies are met (other packages are also installed, which need to be installed for this package to function properly). If the dependencies are not met, the package is not installed, because it would not work anyway. This is the case with your rpm file also (but still use deb files, it's less messy that way). When dependencies are not met, you need to find those depending packages (packages, that have the files that are needed before the original package can be installed) and install them first. This can be a lot of work sometimes..

Better method is to use a package manager, if you have internet connection available. It works a bit the same way as dpkg, except that you don't give it a file name, but a package name which it then tries to find and download from specified "warehouses" in the internet (called reposities), along with all the dependencies which it will try to download too, and if it does find them all (it should), then installs them all for you. So even if that one package you want would need several other packages in order to be successfully installed, the package manager would do it all by one command (as long as the package is found from the reposities). Even if you're installing a single .deb file, you can try to install the depending, missing package using your package manager, and after that install the single .deb file. To install packages using Ubuntu's package manager you can use the graphical Synaptic tool (or Add/Remove in latest Ubuntu versions) or from command line:
Code:
apt-get install packagename
Note that in the above command you don't type the package version number, nor .deb - just the package name.
 
Old 09-06-2007, 09:59 AM   #4
esmith
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you both I will try this later today and see if everything goes as it should.
 
  


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
LXer: Is Ubuntu Christian Edition Needed? LXer Syndicated Linux News 0 09-15-2006 06:54 PM
Help needed installing Ubuntu on multiple systems ednoonan Ubuntu 4 07-15-2006 03:55 PM
LXer: Ubuntu 6.06: Some Polish Needed LXer Syndicated Linux News 1 06-22-2006 04:53 PM
RAID0 Ubuntu install, help needed kamil212 Linux - Newbie 1 06-12-2006 07:43 AM
Ubuntu Sparc apt source needed kasl33 Ubuntu 2 12-21-2005 12:07 PM

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

All times are GMT -5. The time now is 06:32 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