how to create .deb

Lee Braiden lee_b at digitalunleashed.com
Sat Sep 10 08:15:13 UTC 2005


On Saturday 10 September 2005 07:51, ridho muhammad wrote:
> hi all..
>
> i want to create my web application (php n mysql) with .deb, i mean
> like phpmyadmin
> just type apt-get install phpmyadmin .. how so cool...
>
> i've tried get source with apt-get source phpmyadmin but i dunno how to
> that..?

Web apps are probably the least standardised thing to install, unfortunately.  
I'd really love debian/ubuntu to have a standard way to do install webapps 
that would handle your chosen webserver, which virtualhosts to install on, 
which directories, holding back updates on particular vhosts, etc.  But it's 
complex.

For now, as I think you're hinting, it might be best to apt-get source one of 
the better webapps that ask questions via debconf on install, about which 
server to use (apache, apache2, etc.).  Then, look in the directory it 
creates for a debian directory, and start reading.  The most important file 
is debian/rules, which is a makefile that actually does the building etc.  
You can use dpkg-buildpackage to actually build it.

Also, have a read at the debian maintainer's guide.

-- 
Lee Braiden
http://www.DigitalUnleashed.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050910/7dd5d30c/attachment.sig>


More information about the ubuntu-users mailing list