LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-18-2012, 10: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, 10: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-18-2012, 11:25 PM   #3
ceyx
Member
 
Registered: May 2009
Location: Fort Langley BC
Distribution: Kubuntu,Free BSD,OSX,Windows
Posts: 342

Rep: Reputation: 59
What flavor of Linux are you using RAJD ?
 
Old 02-19-2012, 07:31 AM   #4
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,714

Rep: Reputation: 2722Reputation: 2722Reputation: 2722Reputation: 2722Reputation: 2722Reputation: 2722Reputation: 2722Reputation: 2722Reputation: 2722Reputation: 2722Reputation: 2722
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, 10:16 AM   #5
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
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 10:29 AM.
 
Old 02-19-2012, 10:17 AM   #6
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

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

Last edited by tommcd; 02-19-2012 at 10:24 AM. Reason: accidental double post!
 
Old 02-19-2012, 02: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 02:53 PM.
 
Old 02-19-2012, 06:46 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,364

Rep: Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752Reputation: 2752
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



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

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

All times are GMT -5. The time now is 09:40 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
Open Source Consulting | Domain Registration