get source + build dependencies
sudo apt-get source package
sudo apt-get build-dep package
modify package
cd package
nano debian/rules
update version history
dch -i
build package
debuild -us -uc -b
install package
dpkg -i ../package.deb
sudo apt-get source package
sudo apt-get build-dep package
cd package
nano debian/rules
dch -i
debuild -us -uc -b
dpkg -i ../package.deb