Creating Empty Debian Package

http://wiki.debian.org” says “creating empty package is easy job”.

First choose a name for a file which is not used by any other package.

Screenshot from 2013-06-07 13:46:33

Aptitude is an the Debian package manager.

Screenshot from 2013-06-07 13:47:44

Install equivs by giving following command on terminal:

sudo apt-get install equivs

$ equivs-control package-minimal
$ ls
package-minimal

equivs-control generates a file which is close to debian/control in a debian source package.

You have to edit the file to modify and uncomment some lines.

Screenshot from 2013-06-07 13:52:03

create an empty Debian binary package.

$ equivs-build package-minimal 
$ ls
package-minimal  package-minimal_1.0_all.deb


you can control that it is lintian clean!

$ lintian package-minimal_1.0_all.deb


 

Leave a comment