LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Compile Question (https://www.linuxquestions.org/questions/linux-newbie-8/compile-question-267332/)

DarkExile 12-17-2004 03:58 AM

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)

Zuggy 12-17-2004 04:29 AM

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.

cs-cam 12-17-2004 06:55 AM

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.


All times are GMT -5. The time now is 03:48 PM.