LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 12-25-2012, 11:11 PM   #1
sudo_su
Member
 
Registered: Aug 2012
Location: Australia
Distribution: Redhat, CentOS
Posts: 59

Rep: Reputation: Disabled
How to install dependencies with rpm


Dear experts,

I downloaded and tried to install skype and teamviewer but when it results it following error

Quote:
[root@server Downloads]# rpm -ivh teamviewer_linux.rpm
warning: teamviewer_linux.rpm: Header V3 DSA/SHA1 Signature, key ID 72db573c: NOKEY
error: Failed dependencies:
glibc(x86-32) >= 2.4 is needed by teamviewer7-7.0.9377-1.i386
libgcc(x86-32) is needed by teamviewer7-7.0.9377-1.i386
alsa-lib(x86-32) is needed by teamviewer7-7.0.9377-1.i386
zlib(x86-32) is needed by teamviewer7-7.0.9377-1.i386
libSM(x86-32) is needed by teamviewer7-7.0.9377-1.i386
libXext(x86-32) is needed by teamviewer7-7.0.9377-1.i386
libXtst(x86-32) is needed by teamviewer7-7.0.9377-1.i386
libXdamage(x86-32) is needed by teamviewer7-7.0.9377-1.i386
libXfixes(x86-32) is needed by teamviewer7-7.0.9377-1.i386
libXrender(x86-32) is needed by teamviewer7-7.0.9377-1.i386
freetype(x86-32) is needed by teamviewer7-7.0.9377-1.i386
1: Is it possible that the installation resolves and installs the dependencies itself, like its done while installation package via yum?
2: what can i do to install the above rpm?

please assist.
 
Old 12-25-2012, 11:58 PM   #2
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Have you seen the instructions here?

http://www.teamviewer.com/en/help/36...tribution.aspx

Quote:
Yum is preferred, as it will install missing dependencies.
 
Old 12-26-2012, 12:01 AM   #3
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Also make sure you have solved your yum repo problem described here: http://www.linuxquestions.org/questi...-a-4175441917/
 
Old 12-26-2012, 12:03 AM   #4
sudo_su
Member
 
Registered: Aug 2012
Location: Australia
Distribution: Redhat, CentOS
Posts: 59

Original Poster
Rep: Reputation: Disabled
yes brother, the command thats mentioned there works i.e
Code:
yum install teamviewer_linux.rpm
but I want to know solution for learning purposes as in future I might experience a software which might not be available on yum repositories, so how would i need to sort that out.

Quote:
Originally Posted by snowpine View Post
Have you seen the instructions here?

http://www.teamviewer.com/en/help/36...tribution.aspx
 
1 members found this post helpful.
Old 12-26-2012, 01:21 AM   #5
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
If you have already successfully installed teamviewer by following the official instructions, it doesn't make any sense for me to research and type an alternative unofficial set of instructions that probably won't work any better than the successful official instructions.
 
Old 12-26-2012, 01:30 AM   #6
sudo_su
Member
 
Registered: Aug 2012
Location: Australia
Distribution: Redhat, CentOS
Posts: 59

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by snowpine View Post
If you have already successfully installed teamviewer by following the official instructions, it doesn't make any sense for me to research and type an alternative unofficial set of instructions that probably won't work any better than the successful official instructions.
I am not just talking about one specific software or package. I got same problem for skype and many others where i cant install because of deepndencies and for those i use --nodeps dont work, in future I will meet hundreds and thousands of other packages where I wont be as lucky as in case of teamviewer.

Quote:
[root@server Downloads]# rpm -ivh skype-4.1.0.20-fedora.i586.rpm
error: Failed dependencies:
alsa-lib >= 1.0.23 is needed by skype-4.1.0.20-fc16.i586
libQtCore.so.4 is needed by skype-4.1.0.20-fc16.i586
libQtDBus.so.4 is needed by skype-4.1.0.20-fc16.i586
libQtGui.so.4 is needed by skype-4.1.0.20-fc16.i586
libQtNetwork.so.4 is needed by skype-4.1.0.20-fc16.i586
libQtWebKit.so.4 is needed by skype-4.1.0.20-fc16.i586
libQtXml.so.4 is needed by skype-4.1.0.20-fc16.i586
libXss.so.1 is needed by skype-4.1.0.20-fc16.i586
libXv.so.1 is needed by skype-4https://lqo-thequestionsnetw.netdna-ssl.com/questions/images/editor/attach.gif.1.0.20-fc16.i586
libstdc++.so.6 is needed by skype-4.1.0.20-fc16.i586
libstdc++.so.6(CXXABI_1.3) is needed by skype-4.1.0.20-fc16.i586
libstdc++.so.6(GLIBCXX_3.4) is needed by skype-4.1.0.20-fc16.i586
libstdc++.so.6(GLIBCXX_3.4.11) is needed by skype-4.1.0.20-fc16.i586
libstdc++.so.6(GLIBCXX_3.4.15) is needed by skype-4.1.0.20-fc16.i586
libstdc++.so.6(GLIBCXX_3.4.9) is needed by skype-4.1.0.20-fc16.i586
qtwebkit is needed by skype-4.1.0.20-fc16.i586
 
Old 12-26-2012, 01:59 AM   #7
sharadchhetri
Member
 
Registered: Aug 2008
Location: INDIA
Distribution: Redhat,Debian,Suse,Windows
Posts: 179

Rep: Reputation: 23
Quote:
Originally Posted by sudo_su View Post
I am not just talking about one specific software or package. I got same problem for skype and many others where i cant install because of deepndencies and for those i use --nodeps dont work, in future I will meet hundreds and thousands of other packages where I wont be as lucky as in case of teamviewer.
I would like to suggest you to understand what is dependency meaning .
google it every package name ,read about it. Then you will discover what is the role of dependency in software.

for eg. Alsa-lib.

if you search alsa in net , you will find The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI functionality to the Linux operating system. , if you do not install this you will not get sound. imagine skype with no sound.

I hope you got something what I mean to say, so go and install dependency. With experience you will able to choose which dependency you do not want to install. just make a habit of reading about dependency role.
 
Old 12-26-2012, 07:49 AM   #8
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Your error message trying to install Skype implies that you aren't running Fedora 16. Would you say that is accurate?
 
Old 12-26-2012, 08:06 AM   #9
sudo_su
Member
 
Registered: Aug 2012
Location: Australia
Distribution: Redhat, CentOS
Posts: 59

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by snowpine View Post
Your error message trying to install Skype implies that you aren't running Fedora 16. Would you say that is accurate?
@ snowpine; I am using CentOS 6.3.
 
Old 12-26-2012, 08:29 AM   #10
aedurkee
LQ Newbie
 
Registered: Sep 2012
Location: Tonawnada, NY
Distribution: CentOS Redhat ubuntu mint
Posts: 15

Rep: Reputation: Disabled
The error is telling you what file is missing, you need to find the rpm that contains or provides that file (any depencies for that rpm) and install along with your original package. for example snmpd depends on the lm-sensors package, this isn't exact but to install snmpd snmpd-utils you need to execute something like

rpm -ivh net-snmpd.rpm net-snmpd-utils.rpm lm-sesnors.rpm

The above would install snmpd, the utilities package and provide the dependecy lm-sensors for the install.
 
Old 12-26-2012, 08:43 AM   #11
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Did you try these instructions yet? (first google hit for "skype centos")

http://wiki.centos.org/HowTos/Skype
 
Old 12-26-2012, 08:50 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
For the "libstdc++ object" GLIBCXX_3.4.15, please use a libstdc++.so.6.0.17.
→ → Post # 7 here :
http://www.linuxquestions.org/questi...-4175419985/#7
EDIT : Better : Install the package libstdc++6-4.7.2-5.i386.rpm
https://docs.google.com/open?id=0B7S...npLVG13U3lqbVk
> # yum install libstdc++6-4.7.2-5.i386.rpm
Else yum will complain in the following ...

When you have added the new libstdc++.so.6 -> libstdc++.so.6.0.17,
please do : # yum install teamviewer_linux.rpm
Or : # yum localinstall teamviewer_linux.rpm
or # yum localinstall --nogpgcheck teamviewer_linux.rpm
... and all the other dependencies should be installed.


Note 1 : 'rpm -ivh' is an exception command, to be used only
when you want to install two or more versions of a library.
The default command, used by yum and all 'Package Managers':
# rpm -Uvh

Note 2 : Other LQ Teamviewer threads >>
http://www.linuxquestions.org/questi...-5-5-a-861548/

http://www.linuxquestions.org/questi...failed-940283/


.

Last edited by knudfl; 12-26-2012 at 09:24 AM.
 
1 members found this post helpful.
  


Reply

Tags
teamviewer



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 a rpm without dependencies problem? unidows Linux - Software 3 05-15-2007 12:22 PM
How do I tell an RPM that I really did install its dependencies? Avatar Linux - Software 4 07-20-2005 03:44 PM
RPM Install problem - dependencies The_JinJ Linux - Newbie 3 11-22-2004 07:08 PM
RPM install - failed dependencies. aje Linux - General 3 11-10-2004 02:40 AM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 12:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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