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 |
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-12-2007, 02:04 PM
|
#1
|
|
LQ Newbie
Registered: Jul 2006
Posts: 5
Rep:
|
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.
|
|
|
|
05-12-2007, 02:09 PM
|
#2
|
|
HCL Maintainer
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450
Rep:
|
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).
|
|
|
|
05-12-2007, 04:25 PM
|
#3
|
|
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,244
Rep:
|
Yep, the compiler will spit out a message if a dependency is missing.
|
|
|
|
05-13-2007, 03:29 AM
|
#4
|
|
LQ Newbie
Registered: Jul 2006
Posts: 5
Original Poster
Rep:
|
There's a way to check it without compiling ?
|
|
|
|
05-13-2007, 07:38 AM
|
#5
|
|
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,244
Rep:
|
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.
|
|
|
|
05-13-2007, 08:23 AM
|
#6
|
|
Member
Registered: May 2006
Location: UK
Distribution: Debian, Linux From Scratch
Posts: 416
Rep:
|
apt-get build-dep package may be useful.
|
|
|
|
05-14-2007, 11:24 PM
|
#7
|
|
LQ Newbie
Registered: Jul 2006
Posts: 5
Original Poster
Rep:
|
Thanks. I'll try that.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:06 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
|
|