Search code examples
javaubuntudebianpackagingdebian-based

How do I create a deb package with basic dependencies?


Hi so I am trying to create a deb package for a web application written in Java (it uses Apache Tomcat). My eventual goal is to start a repository that people can add to apt-get the software, but

  1. How do I make it so that the package knows to look for dependencies like tomcat, sun-java6-bin, and ant?

  2. How do I write an installer script to place the files and folders in the right place?


Solution

  • There is a great tutorial at http://www.debian.org/doc/maint-guide/