LinuxQuestions.org
Review your favorite Linux distribution.
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 05-04-2004, 07:45 PM   #1
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Rep: Reputation: 32
Question How do I check for dependencies?


I am trying to install my first Linux game (pingus)

When I read the README it lists some dependencies....OK
I downloaded those and installed 1 or 2 , but then the third has a dependency file....so
I downloaded that and so on ...and so on

These dependencies are like a nasty multi-nested if..then loop

I would like to know how to install without package managers, so that I am not as limited to what can be installed.

If I find out that I need fileX, fileY, and LibraryA. How do I determine if they are installed?
Also, how do I check for installed libraries?

Sorry for the rambling, tonight I am too lazy to hit the backspace key....so once I've typed it......it's here to stay
 
Old 05-04-2004, 08:29 PM   #2
deloptes
Member
 
Registered: Feb 2004
Location: AT
Distribution: debian etch and SUSE 10.2
Posts: 123

Rep: Reputation: 15
you could configure your package manager to automatically resolve dependencies, any way it should be better to know what is depending on what. This way you have control over your system.

most of the packages are small and you can use the package manager to download and install them automatically.
I distinct 4 groups of the packages
main - who contain the executables and configuration, may be libraries too
libraries - fit together with main
docs - optional
devel - development, optional

it's really confusing sometimes but once you get used to it, it's fine.

There is no way to get some program working when it has it's dependencies broken.

It's like trying to unlock the door wiht the wrong key ...

If you are experimenting with some stuff than you should try learning how to rebuild packages, compile and so ....

It's anoying

regards
 
Old 05-04-2004, 08:31 PM   #3
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
http://apt.freshrpms.net/
try this and then get synaptic,david
 
Old 05-04-2004, 08:38 PM   #4
glenn69
Member
 
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Original Poster
Rep: Reputation: 32
I have used apt and RPM before, but I would like to broaden my horizons by learning how to "do it myself" with source code.

Thanks
 
Old 05-06-2004, 05:28 PM   #5
deloptes
Member
 
Registered: Feb 2004
Location: AT
Distribution: debian etch and SUSE 10.2
Posts: 123

Rep: Reputation: 15
well then you have to look into the documentation ofthe source code

it's usually written there what you need and what you should do to get the apps working.

Read more about compiling but I started like you do and my horizon is now much wider ...

I read alway the README and INSTALL but in the beginning it didn't work fine untill I read more about the compiler (GCC) and about shared and staticlibraries and linking.

I also read about make and Makefile and now I'm investigating the process of building my own debian packages - i.e. writing my rules etc.

There is bunch to read

but

It's annoying

good luck
 
  


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
Command to check library dependencies daihard Linux - Software 6 12-04-2014 10:26 PM
check dependencies syeronne Linux - Newbie 1 11-30-2005 09:53 AM
Does ./configure command do a check on dependencies? Akhran Linux - Newbie 1 08-18-2005 06:20 AM
how to check rpm dependencies demmylls Linux - General 9 01-31-2005 12:14 PM
installing package without dependencies check noir-gel Linux - General 2 03-03-2003 08:29 PM

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

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