Build debian Package

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sokoun
    New Member
    • Sep 2007
    • 30

    #1

    Build debian Package

    All,

    I have a folder which contain text file and some other file. I want to pack this folder to be debian package ( example.deb ) which i can used the command dpkg -i example.deb to install it to my debian OS. could anyone tell me the step to build this package, including how to make the control file, preinstall, and postrm file?

    sokoun
  • micmast
    New Member
    • Mar 2008
    • 144

    #2
    Originally posted by sokoun
    All,

    I have a folder which contain text file and some other file. I want to pack this folder to be debian package ( example.deb ) which i can used the command dpkg -i example.deb to install it to my debian OS. could anyone tell me the step to build this package, including how to make the control file, preinstall, and postrm file?

    sokoun

    This is a good link http://tldp.org/HOWTO/html_single/Debian-Binary-Package-Building-HOWTO/

    This will tell you everything you need to know. Another quick solution is checkinstall

    Comment

    • fineupall
      New Member
      • Jun 2008
      • 5

      #3
      Hi,

      There are many ways to build a debian package. If you know command line then you can go ahead and use the terminal but if you just want to build a package without touching the underlying commands then you can use a GUI tool it's called Debian Package Maker.

      You can build package Manually or directly from a Source.

      You can download the Ubuntu deb and the source at:


      or you can visite the project site:

      Comment

      Working...