<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=7288&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / drpm - a simple tool to handle deb packages for people used to rpm]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=7288</link>
		<description><![CDATA[The most recent posts in drpm - a simple tool to handle deb packages for people used to rpm.]]></description>
		<lastBuildDate>Tue, 08 Jul 2025 16:35:36 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: drpm - a simple tool to handle deb packages for people used to rpm]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=56589#p56589</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>but rather as an opportunity to learn how to make deb packages</p></div></blockquote></div><p>.</p><p>Nice, pretty much what i&#039;ve been doing for the last week or so, been meaning for a long time to learn to package, so i&#039;m easing into it with easy stuff, just building the structure manually and using dpkg-deb --build.</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Tue, 08 Jul 2025 16:35:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=56589#p56589</guid>
		</item>
		<item>
			<title><![CDATA[Re: drpm - a simple tool to handle deb packages for people used to rpm]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=56588#p56588</link>
			<description><![CDATA[<p>Thanks greenjeans, when I find some time for it I will try to make a deb package for this tool, not because it really needs it (it&#039;s just a simple script with one dependency) but rather as an opportunity to learn how to make deb packages.</p>]]></description>
			<author><![CDATA[dummy@example.com (tux_99)]]></author>
			<pubDate>Tue, 08 Jul 2025 16:21:02 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=56588#p56588</guid>
		</item>
		<item>
			<title><![CDATA[Re: drpm - a simple tool to handle deb packages for people used to rpm]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=56587#p56587</link>
			<description><![CDATA[<p>Cool script! I really like little utilities that help folks ease into a new system and get up and running quickly, nice work!</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Tue, 08 Jul 2025 15:19:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=56587#p56587</guid>
		</item>
		<item>
			<title><![CDATA[drpm - a simple tool to handle deb packages for people used to rpm]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=56586#p56586</link>
			<description><![CDATA[<p>As a newbie to the debian/devuan world (but not to Linux) I found that my biggest obstacle was all things related to packages since because of almost 3 decades of using RPM based distros my brain is hardwired to the rpm commands to query installed packages and their dependencies.</p><p>So in a quest to both familiarize myself with the equivalent dpkg and apk commands and to make my life on Devuan easier I decided to write a small tool (a Perl script) that translates common rpm commands to the equivalent dpkg/apk commands.</p><p>For now the tool supports the following rpm commands (these are the ones I use most commonly) but I might add more in the future:</p><div class="codebox"><pre><code>rpm -qa
rpm -qi &lt;pkgname&gt;
rpm -qip &lt;filename&gt;
rpm -ql &lt;pkgname&gt;
rpm -qlp &lt;filename&gt;
rpm -qR &lt;pkgname&gt;
rpm -q --whatrequires &lt;pkgname&gt;
rpm -q --changelog &lt;pkgname&gt;
rpm -qf &lt;/path/file&gt;</code></pre></div><p>The tool is called &#039;drpm&#039; (I couldn&#039;t call it &#039;rpm&#039; as the rpm binary is available in the debian repositories so there would have been a name clash). It can be downloaded here: <a href="https://downloads.linuxtech.net/drpm/" rel="nofollow">https://downloads.linuxtech.net/drpm/</a></p><p>That link will download a zip file which contains the script, just unzip it and place the script somewhere in your path (for example in <strong>/usr/local/bin/</strong> ) and make it executable:</p><div class="codebox"><pre><code>chmod 755 /usr/local/bin/drpm</code></pre></div><p>In addition to that you need to install one dependency (a Perl library) from the debian/devuan repos:</p><div class="codebox"><pre><code>sudo apt install libswitch-perl</code></pre></div><p>There is no man page for now but if you run drpm in a terminal without any arguments you will get a brief help message.<br />The tool is provided &quot;as is&quot;, the MIT license applies.<br />It should work on any distro that uses dpkg and apt for package management.</p><p>I hope it will be useful to fellow Devuan newbies who are coming from rpm-based distros.<br />Any bugs or problems please let me know.</p><p>Here are some examples of drpm being used on Devuan Excalibur:</p><div class="codebox"><pre><code>user@vm:~$ drpm -qa|grep xorg
xorg 1:7.7+24
xorg-docs-core 1:1.7.3-1
xorg-sgml-doctools 1:1.11-1.1
xserver-xorg 1:7.7+24
xserver-xorg-core 2:21.1.16-1.1devuan1
xserver-xorg-input-all 1:7.7+24
xserver-xorg-input-libinput 1.5.0-1
xserver-xorg-input-wacom 1.2.3-1
xserver-xorg-legacy 2:21.1.16-1.1devuan1
xserver-xorg-video-fbdev 1:0.5.0-2
xserver-xorg-video-intel 2:2.99.917+git20210115-1
xserver-xorg-video-qxl 0.1.6-1.1
xserver-xorg-video-vesa 1:2.6.0-2
xserver-xorg-video-vmware 1:13.4.0-1</code></pre></div><div class="codebox"><pre><code>user@vm:~$ drpm -qi xserver-xorg
Package: xserver-xorg
Status: install ok installed
Priority: optional
Section: x11
Installed-Size: 203
Maintainer: Debian X Strike Force &lt;debian-x@lists.debian.org&gt;
Architecture: amd64
Source: xorg
Version: 1:7.7+24
Provides: xserver
Depends: xserver-xorg-core, xserver-xorg-video-all | xorg-driver-video, xserver-xorg-input-all | xorg-driver-input, xkb-data, x11-xkb-utils
Recommends: libgl1-mesa-dri, xserver-xorg-legacy
Description: X.Org X server
 This package depends on the full suite of the server and drivers for the
 X.Org X server.  It does not provide the actual server itself.
Homepage: https://www.x.org/</code></pre></div><div class="codebox"><pre><code>user@vm:~$ drpm -q --whatrequires xserver-xorg
xserver-xorg
Reverse Depends:
  xorg</code></pre></div><div class="codebox"><pre><code>user@vm:~$ drpm -qR xserver-xorg
xserver-xorg
  Depends: xserver-xorg-core
 |Depends: xserver-xorg-input-all
  Depends: xkb-data
  Depends: x11-xkb-utils</code></pre></div><div class="codebox"><pre><code>user@vm:~$  drpm -qf /usr/bin/Xorg 
xserver-xorg-core: /usr/bin/Xorg</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (tux_99)]]></author>
			<pubDate>Tue, 08 Jul 2025 13:17:28 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=56586#p56586</guid>
		</item>
	</channel>
</rss>
