Tag Archive: package

Feb 26

Compile linux-* kernel packages

In Debian Like Systems it goes like this… Installing need packages ?View Code BASH1 apt-get install kernel-package libncurses5-dev fakInstalling need packageseroot wget bzip2 build-essential Download and decompress the kernel from kernel.org ?View Code BASH1 2 3 wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.22.3.tar.bz2 bzip2 -d linux-2.6.22.3.tar.bz2 tar xvf linux-2.6.22.3.tar.bz2 Configure the source for compilation ?View Code BASH1 2 3 4 …

Continue reading »

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!!!