Results 1 to 7 of 7

Thread: dependencies used by each application

  1. #1
    Join Date
    Jan 2009
    Location
    Nelspruit, South Africa
    Beans
    1,415
    Distro
    Ubuntu Development Release

    dependencies used by each application

    is the a way I can get a list of dependency used by each application, eg FireFox, vlc, gstreamer etc

    what I want to do is have a list of packages used by each application. any idea
    Monitor: LG flatron w1954s 22", mobo: G31-m7 series, CPU: Intel LGA 775 Intel core duo 2 2,66GHZ, RAM: 3GB, GPU: ATI Radeom HD 2400, Storage: 500GB SATA and 80GB IDE, Windows 7 ultimate and Ubuntu

  2. #2
    Join Date
    Oct 2009
    Location
    Upminster, Essex, UK
    Beans
    544

    Thumbs down Re: dependencies used by each application

    Simples ... when you know it... impossible if you don't...

    Code:
    apt-cache depends <package>
    To do it in reverse ie what packages depend on it

    Code:
    apt-cache rdepends <package>
    Last edited by satanselbow; January 27th, 2012 at 04:20 PM. Reason: added reverse
    Code:
    cd /fridge/beer | drink && fallover

  3. #3
    Join Date
    Oct 2011
    Location
    ZZ9 Plural Z Alpha
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: dependencies used by each application

    Code:
    dpkg-deb -I foo.deb
    Gives info on the package, including dependent packages...

    Satanselbow's method works if the package is installed.

  4. #4
    Join Date
    Feb 2010
    Location
    Obscurial Springs
    Beans
    15,210
    Distro
    Ubuntu Budgie Development Release

    Re: dependencies used by each application

    The synaptic package manager can be used also if installed . Right click the line that displays the package and enter properties > dependencies .
    "Our intention creates our reality. "

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Flavors

  5. #5
    Join Date
    Jan 2009
    Location
    Nelspruit, South Africa
    Beans
    1,415
    Distro
    Ubuntu Development Release

    Re: dependencies used by each application

    thanks guys I will mark it solved
    Monitor: LG flatron w1954s 22", mobo: G31-m7 series, CPU: Intel LGA 775 Intel core duo 2 2,66GHZ, RAM: 3GB, GPU: ATI Radeom HD 2400, Storage: 500GB SATA and 80GB IDE, Windows 7 ultimate and Ubuntu

  6. #6
    Join Date
    Oct 2009
    Location
    Upminster, Essex, UK
    Beans
    544

    Thumbs down Re: dependencies used by each application

    Quote Originally Posted by cortman View Post
    Satanselbow's method works if the package is installed.

    Not quite correct. It works for anything found in your currently enabled repos - installed or not

    However I hadn't considered downloaded debs
    Code:
    cd /fridge/beer | drink && fallover

  7. #7
    Join Date
    Oct 2011
    Location
    ZZ9 Plural Z Alpha
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: dependencies used by each application

    Quote Originally Posted by satanselbow View Post
    Not quite correct. It works for anything found in your currently enabled repos - installed or not

    However I hadn't considered downloaded debs
    You're right. I had tested it out on a deb not gotten from the repos. Thanks!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •