LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-25-2003, 10:50 PM   #1
nidua18
LQ Newbie
 
Registered: Sep 2003
Posts: 26

Rep: Reputation: 15
How to check for required dependences?


As most apps in linux have some dependencies which need to be installed beforehand how would I go about checking my system if they are there or not?
 
Old 09-26-2003, 12:22 AM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"how would I go about checking my system if they are there or not?"

This depends on how your distribution manages packages. What distribution are you using?

If you using an rpm based distribution then you can use the rpm --test function. For example, suppose that you want to check the dependencies of a package called tracker-2.3-6.i386.rpm which you have downloaded to a file called /root/downloads. Then the command to check for missing dependencies is:

rpm --test -i /root/downloads/tracker-2.3-6.i386.rpm
 
Old 09-26-2003, 12:45 AM   #3
nidua18
LQ Newbie
 
Registered: Sep 2003
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jailbait
rpm --test -i /root/downloads/tracker-2.3-6.i386.rpm
Hmm, I'm beginning to like it more and more, learning something new every day. Well, back to the topic. I am using RH9 so the procedule you described will be very helpful but is there a simular way of testing with applications I compile?
 
Old 09-26-2003, 11:46 AM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"but is there a simular way of testing with applications I compile?"

./configure checks for missing dependencies without actually installing anything on your system. Nothing on your system actually changes until you do make install.
 
  


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
Partition check, check double check Vincentius Linux - General 0 12-25-2004 06:47 AM
Media Check= FAIL - MDSUMs Check out tgrier Linux - Newbie 6 11-26-2004 11:07 PM
How to check which package provide a required missing file? davidas Linux - Newbie 4 08-10-2004 01:48 PM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 03:10 AM
mandrake9.1 freezes during bootup: Finding module dependences skiddex Linux - Newbie 0 05-01-2003 06:04 PM

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

All times are GMT -5. The time now is 11:44 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration