LinuxQuestions.org
Visit Jeremy's Blog.
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 08-18-2009, 02:57 AM   #1
deostroll
Member
 
Registered: Aug 2007
Location: Bangalore
Distribution: fedora
Posts: 112

Rep: Reputation: 15
Does yum install dependencies too?


Have this casual doubt? Tried installing ruby on centos using yum. I got the 1.8.5 as the release version. (This is not the latest release though). It showed only two things to download. I am doubtful if this is right? I did a yum deplist ruby it listed lots of things!!!
 
Old 08-18-2009, 03:01 AM   #2
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Maybe you had most of the dependencies already installed. Yum should manage them automagically.
 
Old 08-18-2009, 03:01 AM   #3
timvandijk039
Member
 
Registered: Jul 2009
Location: The Netherlands
Distribution: Debian/Ubuntu and RHEL/CentOS
Posts: 42

Rep: Reputation: 18
Did you check if the dependencies weren't already installed on your system?
(rpm -q <packagename>, or rpm -qva | grep <packagename>)

De deplist option shows all dependencies but doesn't check if the're installed. The latter proces is done during the actual installation.
 
Old 08-18-2009, 03:02 AM   #4
deostroll
Member
 
Registered: Aug 2007
Location: Bangalore
Distribution: fedora
Posts: 112

Original Poster
Rep: Reputation: 15
apt-get in ubuntu was much better
 
Old 08-18-2009, 03:06 AM   #5
deostroll
Member
 
Registered: Aug 2007
Location: Bangalore
Distribution: fedora
Posts: 112

Original Poster
Rep: Reputation: 15
@timvandijk039: This is wht I did in my console just now:

Code:
[root@chat ~]# rpm -q ruby
ruby-1.8.5-5.el5_3.7
[root@chat ~]# rpm -qva | grep ruby
ruby-irb-1.8.5-5.el5_3.7
ruby-libs-1.8.5-5.el5_3.7
ruby-1.8.5-5.el5_3.7
[root@chat ~]#
 
Old 08-18-2009, 03:25 AM   #6
timvandijk039
Member
 
Registered: Jul 2009
Location: The Netherlands
Distribution: Debian/Ubuntu and RHEL/CentOS
Posts: 42

Rep: Reputation: 18
That good, but what I ment was to check for the packages that ruby depends on. For example:
Code:
rpm -qva | grep ruby-libs
The Ruby package depends on various other packages. One of them for example is glibc. The glibc package can be found on many systems by default so you won't be bothered with that information. But it still is a dependency for the Ruby package.

Hope this helps.
 
  


Reply

Tags
centos, dependencies, ruby, yum


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
Yum won't install due to dependencies, NOT shown in deplist bonegang Linux - Newbie 6 06-27-2007 07:52 AM
Yum update and nvidia driver install give missing dependencies BasV Fedora 5 05-04-2007 08:53 AM
Yum install dependencies? phantom_cyph Linux - Software 32 03-27-2007 02:48 AM
Missing Dependencies during Yum Install? keysorsoze Fedora 4 01-17-2005 01:01 AM


All times are GMT -5. The time now is 04:05 AM.

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