LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 12-17-2004, 03:58 AM   #1
DarkExile
LQ Newbie
 
Registered: Dec 2004
Posts: 13

Rep: Reputation: 0
Compile Question


Is there anyway to know what packages i need to have installed before trying to compile anything?


Thanks
DarkExile (Mandrake 10.1 x86_64)
 
Old 12-17-2004, 04:29 AM   #2
Zuggy
Member
 
Registered: Mar 2004
Location: Pocatello, Idaho, USA
Distribution: Ubuntu
Posts: 256

Rep: Reputation: 30
The only way to know (that I know of) is if the software maker tells you what dependencies you need. I don't know what Mandrake uses for a packet manager but most packet managers (RPM, apt-get) will download or tell you what dependencies you need. The only problem then is that your not compiling from source.

However, most software websits and documentation will tell you what you need before you install. If not, in my experience, when you run ./configure and it finds you don't have something it'll stop and tell you what you need.

Also a quick jargon lesson:

A package is a piece of software you download and/or using a package manager such as RPM or Apt-Get.

A dependency (what you were talking about, I think) is a piece of software like a library needed to run a program.
 
Old 12-17-2004, 06:55 AM   #3
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
If you're using MDK10.1, try setting up urmpi (apt-like package manager for Mandrake). Then from a command line just urmpi <packagename> and it'll handle all dependencies and install it for you.
 
  


Reply



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
Compile Question. pete1234 Linux - Laptop and Netbook 6 05-19-2005 09:51 AM
Compile question LazySlacker Slackware 3 07-05-2004 04:01 AM
compile question jpostma Linux - General 1 06-19-2004 08:54 AM
Compile Question steveh350 Slackware 3 08-17-2003 03:14 AM
compile question chens_83 Linux - General 7 02-24-2002 06:53 PM

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

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