1. Install packages needed to build grml-live .deb
user@localhost$ apt-get --no-install-recommends install \
build-essential \
devscripts \
fakeroot \
asciidoc \
docbook-xsl \
xsltproc \
git \
libdbd-sqlite3-perl \
libdbi-perl \
sqlite3
2. Clone the grml-live repository
user@localhost$ mkdir -p /tmp/dev
user@localhost$ git clone https://github.com/grml/grml-live.git
3. As a regular user, build grml-live package
user@localhost$ cd /tmp/dev/grml-live
user@localhost$ debuild -us -uc
4. Some new .deb files are created in the parent directory
user@localhost$ ls -l /tmp/dev
total 3008
drwxr-xr-x 12 user user 4096 Oct 12 09:04 grml-live
-rw-r--r-- 1 user user 1501120 Oct 12 09:04 grml-live_0.41.1_all.deb <------ DEB
-rw-r--r-- 1 user user 3531 Oct 12 09:04 grml-live_0.41.1_amd64.build
-rw-r--r-- 1 user user 6067 Oct 12 09:04 grml-live_0.41.1_amd64.buildinfo
-rw-r--r-- 1 user user 2567 Oct 12 09:04 grml-live_0.41.1_amd64.changes
-rw-r--r-- 1 user user 781 Oct 12 09:04 grml-live_0.41.1.dsc
-rw-r--r-- 1 user user 1469104 Oct 12 09:04 grml-live_0.41.1.tar.xz
-rw-r--r-- 1 user user 80692 Oct 12 09:04 grml-live-db_0.41.1_all.deb <------ DEB
5. Install the new grml-live package
user@localhost$ sudo dpkg -i grml-live_0.41.1_all.deb
user@localhost$ sudo dpkg -i grml-live-db_0.41.1_all.deb
6. Check what version is installted
user@localhost$ dpkg-query -W -f='${Version}\n' grml-live
0.41.1