Skip to content

Instantly share code, notes, and snippets.

@noslin005
Created October 12, 2022 13:25
Show Gist options
  • Save noslin005/312c862f016a5df08a5564be8449e30a to your computer and use it in GitHub Desktop.
Save noslin005/312c862f016a5df08a5564be8449e30a to your computer and use it in GitHub Desktop.
Download, Pack and Install latest grml-live on Debian 11

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment