Tag Archive: control

Feb 21

Modify CONTROL file in Debian Package

Suppose you have your-package.deb file and want to change files inside the package: ?View Code BASH1 2 3 mkdir -p tmp/DEBIAN dpkg-deb -x your-package.deb tmp/ dpkg-deb –control your-package.deb tmp/DEBIAN Modify the file tmp/DEBIAN/control as you like it. ?View Code BASH1 dpkg-deb -b tmp your-package-custom.deb Finally, ?View Code BASH1 dpkg -i your-package-custom.deb Done!!!