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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-06-2006, 09:46 PM
|
#1
|
Member
Registered: Feb 2006
Location: Overland Park, KS
Distribution: RedHat EL, Fedora, Ubuntu
Posts: 32
Rep:
|
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
|
|
|
04-06-2006, 09:57 PM
|
#2
|
Member
Registered: Sep 2005
Location: Laurel, MD, USA
Distribution: Slackware 10.1, FC5
Posts: 164
Rep:
|
There should be an option somewhere on the main menu which lists installed packages (Try 'Add/Remove Applications', under 'System Tools', IIRC).
|
|
|
04-06-2006, 10:05 PM
|
#3
|
Member
Registered: Feb 2006
Location: Overland Park, KS
Distribution: RedHat EL, Fedora, Ubuntu
Posts: 32
Original Poster
Rep:
|
I found the add/remove applications under system settings. While it does display the packages installed it doesn't give the package versions.
Brian
|
|
|
04-06-2006, 10:06 PM
|
#4
|
Senior Member
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381
Rep:
|
rpmseek is also a good site to check what supplies, depends, etc on what.
http://www.rpmseek.com
|
|
|
04-06-2006, 10:15 PM
|
#5
|
Member
Registered: Feb 2006
Location: Overland Park, KS
Distribution: RedHat EL, Fedora, Ubuntu
Posts: 32
Original Poster
Rep:
|
thanks for that info.
I actually found that if you use the locate command it will give the information I was needing.
Brian
|
|
|
04-06-2006, 10:18 PM
|
#6
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
You use the query option in rpm e.g.
Code:
$rpm -qa | grep -i libxml
|
|
|
04-06-2006, 10:28 PM
|
#7
|
Member
Registered: Feb 2006
Location: Overland Park, KS
Distribution: RedHat EL, Fedora, Ubuntu
Posts: 32
Original Poster
Rep:
|
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
|
|
|
04-07-2006, 04:53 PM
|
#8
|
Senior Member
Registered: Aug 2005
Posts: 1,755
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 02:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|