Debian: Create package from (debian) source


its quite simply to compile from source:

Enable Source repositories in /etc/apt/sources.list

deb-src jessie main
deb-src jessie/updates main
deb-src jessie-updates main

apt-get -y install debhelper dpkg-dev build-essential fakeroot

Get sources for w_scan

apt-get source w-scan

And start compiling

cd w-scan-20130331
dpkg-buildpackage -rfakeroot -uc -us -b

Or if you don’t want to modify the sources

apt-get source --compile w-scan

And install it

dpkg -i w-scan_20130331-1_amd64.deb


Debian Build Tutorial


Leave a Reply Cancel reply