Build deb package
Tutorials
Create a deb package
- How to create a .deb file (tutorial)
- 如何製作「deb檔(Debian Package)」
- How to Create DEB Packages for Debian/Ubuntu
- How to Create a Simple Debian Package
- How to Create a Simple (.deb) Debian Package
- On Building a Debian Package of a Ruby Program
- Samples
Rebuild a deb package from source
Extract a DEB package
dpkg -x coin-manager.22.11.15.deb source
tree --dirsfirst --filelimit 10 --sort=name source/
source/
├── opt
│ └── coinmanager
│ └── html [133 entries exceeds filelimit, not opening dir]
└── usr
└── share
└── doc
└── coin-manager
├── changelog.Debian.gz
├── copyright
└── README.Debian
7 directories, 3 files
For control file
dpkg -e coin-manager.22.11.15.deb source/DEBIAN
tree source/DEBIAN
source/DEBIAN
├── control
└── md5sums
0 directories, 2 files
Build a DEB package
tree --dirsfirst --filelimit 10 --sort=name coin-manager/
coin-manager/
├── DEBIAN
│ ├── control
│ └── md5sums
├── opt
│ └── coinmanager
│ └── html [133 entries exceeds filelimit, not opening dir]
└── usr
└── share
├── applications
│ └── coin_manager.desktop
├── doc
│ └── coin-manager
│ ├── changelog.Debian.gz
│ ├── copyright
│ └── README.Debian
└── icons
└── hicolor
├── 128x128
│ └── apps
│ └── coin-manager.png
├── 16x16
│ └── apps
├── 22x22
│ └── apps
├── 24x24
│ └── apps
├── 32x32
│ └── apps
│ └── coin-manager.png
├── 48x48
│ └── apps
│ └── coin-manager.png
├── 64x64
│ └── apps
│ └── coin-manager.png
└── scalable
└── apps
└── coin-manager.svg
27 directories, 11 files
dpkg -b coin-manager/