LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 02-18-2012, 11:11 PM   #1
RAJD
LQ Newbie
 
Registered: Feb 2012
Posts: 1

Rep: Reputation: Disabled
Is there any way to get all dependencies of a software in one package or any alterna


any package i try installing shows an no. of dependencies and these dependencies ina turn have their own dependencies ..is there a easy way out
 
Old 02-18-2012, 11:35 PM   #2
uhelp
Member
 
Registered: Nov 2011
Location: Germany, Bavaria, Nueremberg area
Distribution: openSUSE, Debian, LFS
Posts: 205

Rep: Reputation: 43
This issue is one of the main reason for the existence of more than 600 different distros.
Each handling this slightly different

To put it short: No way.

If you want to play around with, go to build.opensuse.org, get an account and you can create packages for SUSE, Debian, Fedora and, and, and....
 
Old 02-19-2012, 12:25 AM   #3
ceyx
Member
 
Registered: May 2009
Location: Fort Langley BC
Distribution: Kubuntu,Free BSD,OSX,Windows
Posts: 338

Rep: Reputation: 56
What flavor of Linux are you using RAJD ?
 
Old 02-19-2012, 08:31 AM   #4
wpeckham
Senior Member
 
Registered: Apr 2010
Location: USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 1,650

Rep: Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568Reputation: 568
Dependencies

The elegant solution is a package manager that detects and resolves dependencies FOR you: ala yum, apt, etc.

If that is not possible, then you have all the fun of tracking and installing dependencies prior to being able to install every major package. Some people call this "fun", others spell that work a whole 'nother way!
 
Old 02-19-2012, 11:16 AM   #5
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
Quote:
Originally Posted by RAJD View Post
any package i try installing shows an no. of dependencies and these dependencies ina turn have their own dependencies ..is there a easy way out
If you are using any Debian based distro (including Ubuntu, Mint, and Mepis and many others) you can use apt-cache to list dependencies as well as reverse dependencies.
From the apt-cache manual: man apt-cache:
Quote:
depends pkg(s)
depends shows a listing of each dependency a package has and all the possible other packages that can fulfill
that dependency.

rdepends pkg(s)
rdepends shows a listing of each reverse dependency a package has.
As it says there, using apt-cache depends will show the dependencies for your package; and using apt-cache rdepends will show reverse dependencies (i.e., packages that have your package as a dependency.

Write back if you need more help.
And welcome to the LQ forums!!!

Last edited by tommcd; 02-19-2012 at 11:29 AM.
 
Old 02-19-2012, 11:17 AM   #6
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
[Deleted because of accidental double post!!!]

Last edited by tommcd; 02-19-2012 at 11:24 AM. Reason: accidental double post!
 
Old 02-19-2012, 03:51 PM   #7
Geek255
Member
 
Registered: Feb 2012
Posts: 41

Rep: Reputation: Disabled
Quote:
Originally Posted by RAJD View Post
any package i try installing shows an no. of dependencies and these dependencies ina turn have their own dependencies ..is there a easy way out
debian type distros use both apt-get and aptitude. Both will handle dependencies. If using other distros look through the menu for something that has to do with software or package management.

not linux, but PCBSD uses pbi format which are self-contained packages. These packages include libraries and data for the package. No need to resolve dependencies with pbi and they can be removed without causing breakage to the system or other packages.

Please tell us the distro you are using so we can assist better.

Last edited by Geek255; 02-19-2012 at 03:53 PM.
 
Old 02-19-2012, 07:46 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Basically, as above, tell us what distro you have and we'll tell you what pkg mgr to use.
Trying to install individual pkgs is not a good idea.
Use the repositories that belong to your distro and the appropriate tool.
 
  


Reply


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
Package dependencies skoinga Fedora 4 08-19-2010 07:02 PM
problem with Dependencies package ! shipon_97 Linux - Newbie 1 06-14-2009 09:36 AM
Package Dependencies newinlinux Slackware 5 09-01-2005 11:23 AM
Package dependencies Ytsejammer Linux - Software 2 12-24-2004 10:59 AM
Package and there Dependencies jmdlcar Slackware 4 05-11-2004 11:11 PM


All times are GMT -5. The time now is 02:12 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration