Results 1 to 4 of 4

Thread: Find all package dependencies for source install

  1. #1
    Join Date
    Jul 2009
    Posts
    43

    Find all package dependencies for source install

    Hello friends, I am using linux from quite long time, I currently use Ubuntu 9.04 and eagerly waiting for 9.10 to release. My question is when i install any package from source, if there are missing dependencies, i have to install them first. But the problem occurs when there is more then one dependencies. Is there a way to Find all package dependencies for source install? Can anyone help me with this?

  2. #2
    Join Date
    May 2008
    Posts
    2,680

    Re: Find all package dependencies for source install

    I think it is this command. Open terminal and browse where you have extracted the source contents and then type this command :
    Code:
    sudo apt-get build-dep package_name
    I have not yet tried it as i'm on a windows platform, you can try it out and the post back what happens...

  3. #3
    Join Date
    May 2008
    Posts
    4,085

    Re: Find all package dependencies for source install

    You should try this command out :

    Code:
    sudo apt-get install auto-apt
    sudo auto-apt update
    sudo auto-apt updatedb && sudo auto-apt update-local
    auto-apt run ./configure
    Do post back if this doesn't help... All the best!

  4. #4
    Join Date
    Jan 2009
    Posts
    202

    Re: Find all package dependencies for source install

    If you want to install a package, and you can't find out what it is called by searching with apt-cache, but know the filename of the program itself, or some other filename that belongs to the package, then you can use apt-file to find the package name. This is done like this:
    Code:
    apt-file search filename
    It works just like dpkg -S, but will also show you uninstalled packages that contain the file. It could also be used to find what packages contain necessary include files that are missing when compiling programs, although auto-apt is a much better method of solving such issues, see How to install packages "on demand", Section 5.3.

    You can also list the contents of a package, by running:
    Code:
    apt-file list packagename
    apt-file keeps a database of which files all packages contain, just like auto-apt does and it needs to be up-to-date. This is done by running:
    Code:
    apt-file update

Similar Threads

  1. Replies: 5
    Last Post: 09-07-2011, 10:41 AM
  2. Replies: 3
    Last Post: 05-02-2011, 04:22 PM
  3. Cannot find source package of gnome volume manager
    By Atmanand in forum Operating Systems
    Replies: 5
    Last Post: 08-01-2011, 07:23 AM
  4. Install Imagemagick with installed dependencies
    By Wappinger in forum Software Development
    Replies: 6
    Last Post: 19-06-2010, 12:31 AM
  5. Vista Codec Package (VCP) genuine source
    By Katlin in forum Windows Software
    Replies: 2
    Last Post: 16-05-2009, 06:18 PM

Tags for this Thread

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
  •  
Page generated in 1,713,958,678.96023 seconds with 17 queries