Debian: Create package from (debian) source

Hi,

its quite simply to compile from source:

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

deb-src http://ftp.uni-erlangen.de/debian/ jessie main
deb-src http://security.debian.org/ jessie/updates main
deb-src http://ftp.uni-erlangen.de/debian/ 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

Michael

Debian Build Tutorial

 

Leave a Reply Cancel reply