LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 05-12-2007, 03:04 PM   #1
Yumyai
LQ Newbie
 
Registered: Jul 2006
Posts: 5

Rep: Reputation: 0
Talking How to check if I already install "dependencies" ?


This is my second tried on linux and I was going to compile some program myself without those automatic apt-get but I don't know how to check if I already has a need dependencies, Is there any command to check specific or all dependencies that I already has ? I'm using fedora core 6 and debian at this moment.

( btw. I prefer to do a thing in command-line. )

Thanks.
 
Old 05-12-2007, 03:09 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 70
When you compile something from source, you will likely get an error if a dependency is not met at compile time (if the package uses autotools, this usually occurs in the “configure” script).
 
Old 05-12-2007, 05:25 PM   #3
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
Yep, the compiler will spit out a message if a dependency is missing.
 
Old 05-13-2007, 04:29 AM   #4
Yumyai
LQ Newbie
 
Registered: Jul 2006
Posts: 5

Original Poster
Rep: Reputation: 0
There's a way to check it without compiling ?
 
Old 05-13-2007, 08:38 AM   #5
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
Most source packages contain a configure script. Running this script './configure' checks for the dependencies for you it doesn't actually compile the thing. That's what it's for and is the easiest way to run the check.
 
Old 05-13-2007, 09:23 AM   #6
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian, Linux From Scratch
Posts: 416
Blog Entries: 1

Rep: Reputation: 32
apt-get build-dep package may be useful.
 
Old 05-15-2007, 12:24 AM   #7
Yumyai
LQ Newbie
 
Registered: Jul 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks. I'll try that.
 
  


Reply

Tags
debian, dependencies, fedora, how


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
java console wont install "error: Failed dependencies" io13 Linux - Software 2 08-26-2006 07:02 PM
how do I "apt-get install" without removing dependencies? suse2166 Linux - Software 4 12-26-2004 08:41 PM
" '/lib/cpp' fails sanity check" when trying to install GAIM BoardinBum Linux - Newbie 2 08-13-2004 09:39 AM
Mandrake 9.2 hangs at "searching for module dependencies" right after install dvishloff Mandriva 1 01-25-2004 01:49 PM
Linux install hangs on "Partition Check" jamespf Linux - Newbie 6 09-09-2003 04:14 AM


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