5

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?

Evan Carroll
  • 78,363
  • 46
  • 261
  • 468
Sam
  • 1,246
  • 1
  • 19
  • 27
  • Try asking this in the Ubuntu Development & Programming forum - http://ubuntuforums.org/forumdisplay.php?f=310 – Jesper Jun 07 '10 at 21:01

1 Answers1

4

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

segfault
  • 5,759
  • 9
  • 45
  • 66
  • I'm using it right now but do you know if ubuntu is in any way different, or are all debian packages compatible with ubuntu? – Sam Jun 07 '10 at 22:09
  • Okay I'm at a dead end, it keeps talking about make files and install files that I have no clue about. my software doesn't have any of that (it's a platform-independent web app whose only dependency is really JRE & tomcat). I know how to make it look for dependencies now, that's easy, but the whole install part is beyond me...help? – Sam Jun 08 '10 at 00:28
  • I found [this answer](http://stackoverflow.com/a/8477514/1298153) quite useful, as it had a deeper link to the bits of the tutorial that define the dependencies. – m01 Apr 30 '13 at 09:22