Results 1 to 5 of 5

Thread: DEB package - dependency checks

  1. #1
    Join Date
    Oct 2012

    DEB package - dependency checks

    My question is about dependency checks for the DEB package.

    Using a third-party install generation tool, I created a .DEB installation package for my application.

    There are several dependencies that are required to be present on user’s Linux OS for my application to run properly. Specifically, “make”, and several “.so” libraries, like,, etc.

    Not all of our Ubuntu users may have required dependencies installed prior to running my package installer.

    This third-party installer tool that I used, generates DEB package, but does not include dependency checks.

    As members of the Ubuntu community, could you please comment on how a custom .DEB package without dependency checks may be received by Linux-Ubuntu users?

    Is it acceptable enough to deliver .DEB for a custom application that does not check dependencies?

    Or is it uncommon enough to ‘anger’ Linux users?
    Last edited by lisati; October 19th, 2012 at 02:12 AM. Reason: Normalise font

  2. #2
    Join Date
    Apr 2011
    Kubuntu 12.04 Precise Pangolin

    Re: DEB package - dependency checks

    My opinion (for what it's worth) is that people generally expect a deb package to handle dependency issues for them. Otherwise, they would be content with compiling the package from source. Not having the dpkg system handle the dependencies kind of takes the steam out of the whole idea. Again, just my opinion.

  3. #3
    Join Date
    Jun 2009

    Re: DEB package - dependency checks

    since you are requiring make that means you expect the client to compile your program
    debs are pre-compiled apps
    you would be better off imo giving a install bash script and a source archive if you want to do it like that

    i don't know how to make a deb, i just use a install script, stuff i make is just scripts (php, bash, or sh) and does not require compiling
    Laptop: ASUS A54C-NB91 (Storage: WD3200BEKT + MKNSSDCR60GB-DX); Desktop: Custom Build - Images included; rPi Server
    Putting your Networked Printer's scanner software to shame PHP Scanner Server
    I frequently edit my post when I have the last post

  4. #4
    Join Date
    Nov 2007

    Re: DEB package - dependency checks

    Manually installing dependencies on a debian system in preparation of installing a deb is very rare and unusual. I would consider a deb package without proper dependency information to be malformed or broken, and perhaps untrustworthy...who knows what other important conventions were overlooked? It defeats the purpose of package management. You may as well just use an install/uninstall script instead.

    See for a good place to start on how to include dependency information in your package. The list of dependencies (packages, not files) goes in your source's debian control file.

    There are easy tools to figure out which files come from which packages, and what versions of packages you need to use. Just ask if you don't know!

    The package manager (apt, Synaptic, Software Center, etc.) uses that dependency information to ensure all dependencies are installed automatically. It's a great system, and it's quite easy to use.

  5. #5
    Join Date
    Jun 2007
    Porirua, New Zealand

    Re: DEB package - dependency checks

    Duplicate threads merged and font edited. Please do not start multiple threads for the same problem, it dilutes the community's ability to help.
    Forum DOs and DON'Ts
    Please use CODE tags - Including your email address in a post is not recommended
    Never assume that the information provided by Dr Google is up-to-date or relevant.

Tags for this Thread


Posting Permissions

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