<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>debian on toorun.dev</title><link>https://toorun.dev/tags/debian/</link><description>Recent content in debian on toorun.dev</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Thu, 23 Jul 2026 09:00:00 +0000</lastBuildDate><atom:link href="https://toorun.dev/tags/debian/index.xml" rel="self" type="application/rss+xml"/><item><title>Create a Debian (.deb) Package: Real Hello World Example</title><link>https://toorun.dev/posts/create-deb-package-hello-world/</link><pubDate>Thu, 23 Jul 2026 09:00:00 +0000</pubDate><guid>https://toorun.dev/posts/create-deb-package-hello-world/</guid><description>Create a Debian (.deb) Package (Hello World) This is a minimal, real example you can use immediately. We will package one shell script into a .deb and install it with dpkg.
1) Create package folder layout mkdir -p hello-deb_1.0.0/{DEBIAN,usr/local/bin} 2) Add the Hello World script Create hello-deb_1.0.0/usr/local/bin/hello-deb:
#!/bin/sh echo &amp;#34;Hello from my .deb package&amp;#34; Make it executable:
chmod 755 hello-deb_1.0.0/usr/local/bin/hello-deb 3) Add package metadata (control file) Create hello-deb_1.0.0/DEBIAN/control:
Package: hello-deb Version: 1.</description></item></channel></rss>