title: How to install related package automatically with .deb package?
body: <p>I try to create .deb package for my program.</p>
  
  <p>It needs ImLib2-dev package.</p>
  
  <p>I want to make .deb package install ImLib2-dev package automatically.</p>
  
  <pre><code>Package : MyProject
  Version : 1.0.0.0
  Section : base
  Priority : optional
  Architecture : i386
  Depends:
  Maintainer : xxx &lt;xxx@xxx.com&gt;
  Description : Install Package
  </code></pre>
  
  <p>This is control file in DEBIAN directory of .deb package.</p>
  
  <p>What should I do?</p>
  
  <p><strong>ADD</strong></p>
  
  <p>I read some documents about control file and learn about Depend, Pre-Depend.</p>
  
  <p>But it just check required package is installed and exit when isn't installed</p>
  
  <p>not install packages. Is there any option for installing non-exist package?</p>
  
  <hr>
  
  <pre><code>sudo dpkg -i ~~.deb
  apt-get -f install 
  </code></pre>
  
  <p>installs dependencies, but what I want to do is do it at once with dpkg.</p>
  
  <p>So I try to find the way with changing control file in deb package.</p>