LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-06-2006, 09:46 PM   #1
brian_lad
Member
 
Registered: Feb 2006
Location: Overland Park, KS
Distribution: RedHat EL, Fedora, Ubuntu
Posts: 32

Rep: Reputation: 15
Determining dependencies versions


I am working on installing a package on a fedora 4 system that has the following dependencies.

* libxml2 v2.4.10 or newer
* libxslt v1.0.7 o newer
* ucd-snmp or net-snmp
* openssl - always use latest version
* QT 3.1.x, 3.2.x, 3.3.x

Can someone explain to me how to determine if these packages are installed and the version of the installed package.

I know you can run a whereis command and get the binary/source and man location. I am not sure how to determine the version.

Thanks

Brian
 
Old 04-06-2006, 09:57 PM   #2
burntfuse
Member
 
Registered: Sep 2005
Location: Laurel, MD, USA
Distribution: Slackware 10.1, FC5
Posts: 164

Rep: Reputation: 30
There should be an option somewhere on the main menu which lists installed packages (Try 'Add/Remove Applications', under 'System Tools', IIRC).
 
Old 04-06-2006, 10:05 PM   #3
brian_lad
Member
 
Registered: Feb 2006
Location: Overland Park, KS
Distribution: RedHat EL, Fedora, Ubuntu
Posts: 32

Original Poster
Rep: Reputation: 15
I found the add/remove applications under system settings. While it does display the packages installed it doesn't give the package versions.

Brian
 
Old 04-06-2006, 10:06 PM   #4
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
rpmseek is also a good site to check what supplies, depends, etc on what.
http://www.rpmseek.com
 
Old 04-06-2006, 10:15 PM   #5
brian_lad
Member
 
Registered: Feb 2006
Location: Overland Park, KS
Distribution: RedHat EL, Fedora, Ubuntu
Posts: 32

Original Poster
Rep: Reputation: 15
thanks for that info.

I actually found that if you use the locate command it will give the information I was needing.

Brian
 
Old 04-06-2006, 10:18 PM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You use the query option in rpm e.g.
Code:
$rpm -qa | grep -i libxml
 
Old 04-06-2006, 10:28 PM   #7
brian_lad
Member
 
Registered: Feb 2006
Location: Overland Park, KS
Distribution: RedHat EL, Fedora, Ubuntu
Posts: 32

Original Poster
Rep: Reputation: 15
That is exactly what I was looking for, thanks red

Also I don't know why I wasn't thinking of this before, but I just ended up using yum to install the package which handeled any dependencies I was missing.

Brian
 
Old 04-07-2006, 04:53 PM   #8
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
Quote:
Originally Posted by brian_lad
I am working on installing a package on a fedora 4 system that has the following dependencies.

* libxml2 v2.4.10 or newer
* libxslt v1.0.7 o newer
* ucd-snmp or net-snmp
* openssl - always use latest version
* QT 3.1.x, 3.2.x, 3.3.x

Can someone explain to me how to determine if these packages are installed and the version of the installed package.

I know you can run a whereis command and get the binary/source and man location. I am not sure how to determine the version.

Thanks

Brian
You can just use
Code:
yum install whatever.rpm
on your package and it will install all the dependencies for you.
 
  


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
gcc versions compatibility with kernel versions.. mahesh_manthapuri SUSE / openSUSE 1 03-22-2006 01:28 AM
Determining which shell is in use chakkerz Linux - Newbie 2 11-15-2004 06:47 PM
Package Dependencies on Old Versions (Newbie: Help Please!) bradleymorgan Linux - Software 2 04-02-2004 03:15 PM
I recieve a failed dependencies error, but I have all required dependencies Laptop2250 Linux - Software 15 02-03-2004 08:58 PM
Determining IP bluethundr Linux - Newbie 1 08-12-2003 12:16 AM

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

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