~ read.
Quick tip: dependency free Linux package conversion

Quick tip: dependency free Linux package conversion

How do you feel about your favorite software not having a RPM package when you're using Fedora? Or how about that cool thing built by RedHat that just doesn't install easily on your Debian rig?

Have you ever heard of alien? It's a command line tool to convert to and between any of the two binary packaging formats. Together with scripts and whatnot, although some caution is advised, for any of those differences that simply cannot be translated automatically.

It happens that on some boxes, alien is not available in the configured repositories. Not the default, and sometimes not even in the 3rd party extras.

Oh, and don't even get me started on some shitload of dependencies this thing grabs along!

Docker to the rescue! Of course there's an image for it.

I will demo the thing on my KeeWeb DEB package I want to install on OpenSUSE Tumbleweed:

$ wget https://github.com/keeweb/keeweb/releases/download/v1.5.4/KeeWeb-1.5.4.linux.x64.deb
$ docker run --rm -v `pwd`:`pwd` -w `pwd` -it linuxconfig/alien alien --to-rpm ./KeeWeb-1.5.4.linux.x64.deb
$ sudo zypper in ./KeeWeb-1.5.4.linux.x64.deb

Well, dig through documentation of you need more.

To my future self, looking through this post for a copy-paste ready one liner: I told you so!!

Over and out.